diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-11-18 12:12:14 +0000 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-11-18 12:12:14 +0000 |
commit | 59dbe8806e428314db25c4a4bd9facd6bcb0bccf (patch) | |
tree | 047c16c648b38aaa0122f688af40c3408b066dac /nix-conf/home/includes | |
parent | 5df54bc253ba4dde746dc0474c9ec6afe0850862 (diff) | |
download | dotfiles-59dbe8806e428314db25c4a4bd9facd6bcb0bccf.tar.gz |
Add more vim plugins and bindings
Diffstat (limited to 'nix-conf/home/includes')
-rw-r--r-- | nix-conf/home/includes/common.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nix-conf/home/includes/common.nix b/nix-conf/home/includes/common.nix index 9e107bb..5d64c5a 100644 --- a/nix-conf/home/includes/common.nix +++ b/nix-conf/home/includes/common.nix @@ -78,6 +78,9 @@ in highlight Normal ctermfg=white ctermbg=black set hlsearch set showmatch + set pastetoggle=<F2> + nmap <silent> <F3> :silent nohlsearch<CR> + imap <silent> <F3> <C-o>:silent nohlsearch<CR> ''; plugins = [ pkgs.vimPlugins.sensible pkgs.vimPlugins.auto-pairs @@ -87,6 +90,8 @@ in pkgs.vimPlugins.surround pkgs.vimPlugins.vim-lastplace pkgs.vimPlugins.vim-pasta + pkgs.vimPlugins.vim-repeat + pkgs.vimPlugins.vim-sexp-mappings-for-regular-people pkgs.vimPlugins.vim-sleuth ]; settings = { |