From 8bb80686f5b5b1489c69a64581aae5faa0c0143b Mon Sep 17 00:00:00 2001 From: Peter Date: Sat, 2 Jan 2021 15:22:53 +0000 Subject: Change vim keybinds, add spellchecking --- .config/nvim/init.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.config') diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 4bc605c..d52df30 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -15,8 +15,9 @@ set titlestring=%f\ %m syntax on " Key remapping -inoremap -inoremap Xce +map +map Xce +map :setlocal spell! spelllang=en_gb " Automatically deletes all trailing whitespace and newlines at end of file on save. autocmd BufWritePre * %s/\s\+$//e -- cgit v1.2.3