Add basic options and colorscheme to nixvim
This commit is contained in:
@@ -3,6 +3,42 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
env = { EDITOR = "nvim"; };
|
vimdiffAlias = true;
|
||||||
|
defaultEditor = true;
|
||||||
|
|
||||||
|
colorscheme = "tokyonight";
|
||||||
|
colorschemes.tokyonight.enable = true;
|
||||||
|
|
||||||
|
opts = {
|
||||||
|
number = true;
|
||||||
|
relativenumber = true;
|
||||||
|
showmode = false;
|
||||||
|
|
||||||
|
breakindent = true;
|
||||||
|
|
||||||
|
undofile = true;
|
||||||
|
|
||||||
|
ignorecase = true;
|
||||||
|
smartcase = true;
|
||||||
|
|
||||||
|
signcolumn = "yes";
|
||||||
|
|
||||||
|
updatetime = 250;
|
||||||
|
timeoutlen = 300;
|
||||||
|
|
||||||
|
splitright = true;
|
||||||
|
splitbelow = true;
|
||||||
|
|
||||||
|
list = true;
|
||||||
|
listchars = { tab = "» "; trail = "·"; nbsp = "␣"; };
|
||||||
|
|
||||||
|
inccommand = "split";
|
||||||
|
|
||||||
|
cursorline = true;
|
||||||
|
|
||||||
|
scrolloff = 10;
|
||||||
|
|
||||||
|
confirm = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user