summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/init.vim5
1 files changed, 3 insertions, 2 deletions
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 <C-H> <C-W>
-inoremap <C-Del> X<Esc>ce<del>
+map <C-H> <C-W>
+map <C-Del> X<Esc>ce<del>
+map <F8> :setlocal spell! spelllang=en_gb<CR>
" Automatically deletes all trailing whitespace and newlines at end of file on save.
autocmd BufWritePre * %s/\s\+$//e