blob: edcabe859c7110c3b16cc93b2d6e77ba72476d8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{
config,
lib,
...
}:
with lib; let
cfg = config.local.baseline;
in {
config = {
home.sessionVariables.EDITOR = "nvim";
programs.neovim = {
enable = true;
viAlias = true;
vimAlias = true;
withRuby = false;
withPython3 = false;
extraConfig = ''
set number " Enable line numbering
set relativenumber " Enable relative line numbering
set tabstop=4 " Set tap stop to 4
set shiftwidth=4 " Set shift width to 4 (same as tabstop)
set viminfo= " No tracking
'';
};
};
}
|