diff options
Diffstat (limited to 'home/baseline/nvim.nix')
| -rw-r--r-- | home/baseline/nvim.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/home/baseline/nvim.nix b/home/baseline/nvim.nix new file mode 100644 index 0000000..882788d --- /dev/null +++ b/home/baseline/nvim.nix @@ -0,0 +1,26 @@ +{ 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 + ''; + }; + }; +} |
