diff --git a/vim.nix b/vim.nix index 397df79..edc0816 100644 --- a/vim.nix +++ b/vim.nix @@ -2,14 +2,25 @@ { programs.vim = { enable = true; - defaultEditor = true; plugins = with pkgs.vimPlugins; [ vim-nix rust-vim fzf-vim + sleuth ]; extraConfig = '' source ${./rcfiles/vimrc} ''; }; + + programs.neovim = { + enable = true; + defaultEditor = true; + extraLuaConfig = '' + vim.opt.ignorecase = true -- search case insensitive + vim.opt.smartcase = true -- search matters if capital letter + vim.opt.inccommand = "split" -- "for incsearch while sub + vim.g.mapleader = "," + ''; + }; }