From c533588b8d754231c1e0be800c6d8eb29067662a Mon Sep 17 00:00:00 2001 From: David Morgan Date: Fri, 8 Nov 2024 16:05:30 +0000 Subject: Add more bindings to vimrc --- nix-conf/home/includes/common.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'nix-conf') diff --git a/nix-conf/home/includes/common.nix b/nix-conf/home/includes/common.nix index 17d9a0d..960a74c 100644 --- a/nix-conf/home/includes/common.nix +++ b/nix-conf/home/includes/common.nix @@ -177,6 +177,14 @@ in set pastetoggle= nmap :silent nohlsearch imap :silent nohlsearch + nmap :silent setlocal spell spelllang=en_gb + imap :silent setlocal spell spelllang=en_gb + nmap :silent setlocal nospell + imap :silent setlocal nospell + nmap :silent set diffopt+=iwhite + imap :silent set diffopt+=iwhite + nmap :silent set diffopt-=iwhite + imap :silent set diffopt-=iwhite ''; plugins = [ pkgs.vimPlugins.sensible -- cgit 1.4.1-2-gfad0