From: Samir Benmendil Date: Fri, 11 Apr 2014 01:39:28 +0000 (+0100) Subject: vim: small fixes X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/04fcf61d426ba0554fb26aa8d6851c2a983ceb70 vim: small fixes --- diff --git a/vim/ftplugin/tex.vim b/vim/ftplugin/tex.vim index 406b447..4e88c1a 100644 --- a/vim/ftplugin/tex.vim +++ b/vim/ftplugin/tex.vim @@ -3,4 +3,4 @@ setlocal tabstop=1 setlocal shiftwidth=1 setlocal softtabstop=1 setlocal textwidth=80 -set iskeyword+=: " autocomplet fig: labels +setlocal iskeyword+=: " autocomplet fig: labels diff --git a/vim/vimrc b/vim/vimrc index 3c32b64..c33c18c 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -106,7 +106,6 @@ endif colorscheme badwolf syntax on -set spelllang=en_gb " list of accepted languages set dictionary=spell " list of dictionary files for keyword completion " Spell Check http://tex.stackexchange.com/a/52932 let b:myLang=0 @@ -260,7 +259,7 @@ set wildmenu " command-line completion shows a list of matche " various {{{1 set virtualedit=block " let cursor move past last char in mode -set viminfo='100,<50,s10,h,n$XDG_CACHE_HOME/vim/viminfo " viminfo defaults but save file in .vim +set viminfo='100,<50,s10,h,n$XDG_CACHE_HOME/vim/viminfo " viminfo defaults but save file in .cache set viewdir=$XDG_CACHE_HOME/vim