jj, fish, better kanata, etc
This commit is contained in:
parent
52b1728e2e
commit
d030ebe744
17 changed files with 1642 additions and 938 deletions
53
programs/nvim/options.nix
Normal file
53
programs/nvim/options.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
_: {
|
||||
programs.nixvim.opts = {
|
||||
lazyredraw = true;
|
||||
startofline = true;
|
||||
showmatch = true;
|
||||
|
||||
belloff = "all";
|
||||
showcmd = true;
|
||||
mouse = "a";
|
||||
modeline = true;
|
||||
wrap = false;
|
||||
spell = false;
|
||||
|
||||
|
||||
# don't change the directory when a file is opened
|
||||
# to work more like an IDE
|
||||
autochdir = false;
|
||||
|
||||
autoindent = true;
|
||||
smartindent = true;
|
||||
smarttab = true;
|
||||
|
||||
backspace = [ "indent" "eol" "start" ];
|
||||
|
||||
list = true;
|
||||
undofile = true;
|
||||
undodir = "/home/jonathan/.vimdid";
|
||||
|
||||
tabstop = 4;
|
||||
softtabstop = 4;
|
||||
shiftwidth = 4;
|
||||
expandtab = true;
|
||||
|
||||
# relative line numbers except the current line
|
||||
number = true;
|
||||
relativenumber = true;
|
||||
|
||||
# show (usually) hidden characters
|
||||
listchars = {
|
||||
nbsp = "¬";
|
||||
extends = "»";
|
||||
precedes = "«";
|
||||
trail = "·";
|
||||
tab = ">-";
|
||||
};
|
||||
|
||||
# highlight current line
|
||||
cursorline = true;
|
||||
|
||||
# clipboard == system clipboard
|
||||
clipboard = "unnamedplus";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue