diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-01-18 18:08:09 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-01-18 18:08:09 +0000 |
commit | 43cd98e8da25183d4e55bc953be2f80a81b81682 (patch) | |
tree | 6f7ffc4c49a37a7fed540c55eb80b6c156659ad7 /gvimrc | |
parent | Enable wrap on breaks (diff) | |
download | util-43cd98e8da25183d4e55bc953be2f80a81b81682.tar.bz2 util-43cd98e8da25183d4e55bc953be2f80a81b81682.tar.xz util-43cd98e8da25183d4e55bc953be2f80a81b81682.zip |
Enable spell check, but only on gitcommits
Diffstat (limited to 'gvimrc')
-rw-r--r-- | gvimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -18,6 +18,8 @@ set diffopt+=iwhite set backupdir=/tmp set directory=/tmp set undodir=/tmp +set spelllang=en +set nospell tmenu ToolBar.Make Write all and make amenu ToolBar.Make :wa\|mak
au BufRead,BufNewFile *.ll set filetype=lex @@ -50,6 +52,7 @@ au FileType ebuild map <S-F9> :w<CR>:!ebuild % manifest clean compile test<CR> au FileType ebuild map <C-S-F10> :w<CR>:!sudo ebuild % merge<CR> map <F7> :lnext<CR> map <S-F7> :lprev<CR> +au FileType gitcommit setlocal spell map <F8> :cn<CR> map <S-F8> :cN<CR> map <F9> gg=G |