diff options
Diffstat (limited to 'users/sils/neovim')
-rw-r--r-- | users/sils/neovim/default.nix | 16 | ||||
-rw-r--r-- | users/sils/neovim/lua/options.lua | 25 |
2 files changed, 0 insertions, 41 deletions
diff --git a/users/sils/neovim/default.nix b/users/sils/neovim/default.nix deleted file mode 100644 index 947f0bf..0000000 --- a/users/sils/neovim/default.nix +++ /dev/null @@ -1,16 +0,0 @@ -{pkgs, ...}: { - programs.neovim = { - enable = true; - defaultEditor = true; - viAlias = true; - vimAlias = true; - vimdiffAlias = true; - #extraLuaConfig = builtins.readFile ./lua/options.lua; - # extraConfig = '' - # inoremap jj <esc> - # ''; - # plugins = with pkgs.vimPlugins; [ - # neo-tree-nvim - # ]; - }; -} diff --git a/users/sils/neovim/lua/options.lua b/users/sils/neovim/lua/options.lua deleted file mode 100644 index 2d9fa2d..0000000 --- a/users/sils/neovim/lua/options.lua +++ /dev/null @@ -1,25 +0,0 @@ - local set = vim.opt; - - set.autoindent = true; - set.cindent = true; - set.incsearch = true; - set.ignorecase = true; - set.smartcase = true; - set.showmatch = true; - set.hlsearch = false; - - set.mouse = ""; - set.number = true; - set.relativenumber = true; - set.shell = zsh; - - set.spell = true; - set.spelllang = "en_us,de_de"; - set.spelloptions = "camel"; - - set.syntax = "ON"; - - set.shiftwidth = 2; - set.tabstop = 2; - set.expandtab = true; - set.so = 999; |