From 9074e06b3288e90fc7c9640fa9b64cdd1c043018 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 10 Feb 2009 13:33:27 +0100 Subject: [PATCH] disable supertab by default, enable it only for mail --- .vim/ftplugin/mail.vim | 6 ++++-- .vimrc | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) 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 = '' -- 2.39.2