fix some bugs; remap some keys

This commit is contained in:
2017-04-23 22:45:12 +02:00
parent aea30418bf
commit 944b2c808c

View File

@@ -4,9 +4,6 @@
set guioptions-=m "remove menu bar
set guioptions-=T "remove toolbar
" highlight words for better writing ( http://mashable.com/2015/05/03/words-eliminate-vocabulary/ )
match Todo /\<that\>\c\|\<went\>\c\|\<honestly\>\c\|\<absolutely\>\c\|\<very\>\c\|\<really\>\c\|\<amazing\>\c\|\<always\>\c\|\<never\>\c\|\<literally\>\c\|\<just\>\c\|\<maybe\>\c\|\<stuff\>\c\|\<thing\>\c\|\<irregardless\>\c/
" Some auto replacements for end of mails
iab _v Viele Grüße<C-M>Max
iab _vm Viele Grüße<C-M>Max Mehl
@@ -28,13 +25,16 @@ iab MAx Max
setlocal spell spelllang=en_gb " default: EN spellcheck
" Disable spell check
nmap <M-c> :setlocal spell!<CR>
map! <M-c> <ESC>:setlocal spell!<CR>li
nmap <F2> :setlocal spell!<CR>
map! <F2> <ESC>:setlocal spell!<CR>li
" EN spell check
nmap <M-e> :setlocal spell spelllang=en_gb<CR>
map! <M-e> <ESC>:setlocal spell spelllang=en_gb<CR>li
nmap <F3> :setlocal spell spelllang=en_gb<CR>
map! <F3> <ESC>:setlocal spell spelllang=en_gb<CR>li
" DE spell check
nmap <M-d> :setlocal spell spelllang=de_20<CR>
map! <M-d> <ESC>:setlocal spell spelllang=de_20<CR>li
nmap <F4> :setlocal spell spelllang=de_20<CR>
map! <F4> <ESC>:setlocal spell spelllang=de_20<CR>li
" highlight words for better writing ( http://mashable.com/2015/05/03/words-eliminate-vocabulary/ )
match Todo /\<that\>\c\|\<went\>\c\|\<honestly\>\c\|\<absolutely\>\c\|\<very\>\c\|\<really\>\c\|\<amazing\>\c\|\<always\>\c\|\<never\>\c\|\<literally\>\c\|\<just\>\c\|\<maybe\>\c\|\<stuff\>\c\|\<thing\>\c\|\<irregardless\>\c/