18 lines
656 B
Nix
18 lines
656 B
Nix
{...}: {
|
|
config.opts = {
|
|
# General
|
|
number = true; # Display line numbers.
|
|
relativenumber = true; # Enable relative line numbers
|
|
showmode = false; # Do not show the mode we're editing in.
|
|
swapfile = false; # Disable vim swapfile.
|
|
clipboard = "unnamedplus"; # Use the clipboard for all operations.
|
|
conceallevel = 1; # Show concealed characters (like markdown).
|
|
|
|
# Tabs & Spaces
|
|
tabstop = 2; # Set the width of a tab character.
|
|
softtabstop = 2; # Set the number of columns for a tab.
|
|
shiftwidth = 2; # Set the number of spaces for each step of (auto)indent.
|
|
expandtab = true; # Convert tabs to spaces.
|
|
};
|
|
}
|