about summary refs log tree commit diff stats
path: root/nix-conf/home/includes
diff options
context:
space:
mode:
Diffstat (limited to 'nix-conf/home/includes')
-rw-r--r--nix-conf/home/includes/common.nix5
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 = {