summaryrefslogtreecommitdiff
path: root/gvimrc
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-01-18 18:08:09 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-01-18 18:08:09 +0000
commit43cd98e8da25183d4e55bc953be2f80a81b81682 (patch)
tree6f7ffc4c49a37a7fed540c55eb80b6c156659ad7 /gvimrc
parentEnable wrap on breaks (diff)
downloadutil-43cd98e8da25183d4e55bc953be2f80a81b81682.tar.bz2
util-43cd98e8da25183d4e55bc953be2f80a81b81682.tar.xz
util-43cd98e8da25183d4e55bc953be2f80a81b81682.zip
Enable spell check, but only on gitcommits
Diffstat (limited to 'gvimrc')
-rw-r--r--gvimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gvimrc b/gvimrc
index 12b8347..091d43b 100644
--- a/gvimrc
+++ b/gvimrc
@@ -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