From: martin f. krafft Date: Tue, 10 Feb 2009 12:33:27 +0000 (+0100) Subject: disable supertab by default, enable it only for mail X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/9074e06b3288e90fc7c9640fa9b64cdd1c043018 disable supertab by default, enable it only for mail --- diff --git a/.vim/ftplugin/mail.vim b/.vim/ftplugin/mail.vim index e716413..87e913c 100644 --- a/.vim/ftplugin/mail.vim +++ b/.vim/ftplugin/mail.vim @@ -74,8 +74,10 @@ set completefunc=LBDBCompleteFn " And this magic by James Vega, which ensures that we only complete with lbdb " on the recipient lines of the mail header. -ino DelegateCompletion(1) -ino DelegateCompletion(0) +inoremap DelegateCompletion(1) +inoremap DelegateCompletion(1) +inoremap DelegateCompletion(0) +inoremap DelegateCompletion(0) fun! DelegateCompletion(next) if getline('.') =~? '^\%(To\|B\=Cc\):' diff --git a/.vimrc b/.vimrc index 779375b..176cf78 100644 --- a/.vimrc +++ b/.vimrc @@ -1514,3 +1514,6 @@ let &cpo=s:cpo_save unlet s:cpo_save source $HOME/.vim/macros/table.vim + +let g:SuperTabMappingForward = '' +let g:SuperTabMappingBackward = ''