Add two useful keyboard shortcuts

This commit is contained in:
Anthony Rose 2019-06-10 20:28:03 +01:00
parent a74b867d4e
commit 5d02021b9d

2
vimrc
View file

@ -19,6 +19,8 @@ inoremap <down> <nop>
inoremap <left> <nop>
inoremap <right> <nop>
inoremap <up> <nop>
nmap <F7> :setlocal spell! spelllang=en_gb<CR>
nmap <F11> :Goyo<CR>
nmap <silent> <A-Down> :wincmd j<CR>
nmap <silent> <A-Left> :wincmd h<CR>
nmap <silent> <A-Right> :wincmd l<CR>