summaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2017-10-31 00:41:59 -0400
committerJesse Luehrs <doy@tozt.net>2017-10-31 10:30:15 -0400
commit8668898d9db43a766a9952aed4ba012171cf2a12 (patch)
tree29d885305e3c260d785e4c38fa95a236953a3302 /vim
parent762c306354830f4203f6429234d6786ae3e31c0a (diff)
downloadconf-8668898d9db43a766a9952aed4ba012171cf2a12.tar.gz
conf-8668898d9db43a766a9952aed4ba012171cf2a12.zip
i think this tab override is probably a bit too opinionated
not sure how it interacts with things like supertab and whatnot
Diffstat (limited to 'vim')
-rw-r--r--vim/plugin/opinionated-defaults.vim6
1 files changed, 0 insertions, 6 deletions
diff --git a/vim/plugin/opinionated-defaults.vim b/vim/plugin/opinionated-defaults.vim
index 54341fc..7858182 100644
--- a/vim/plugin/opinionated-defaults.vim
+++ b/vim/plugin/opinionated-defaults.vim
@@ -146,9 +146,3 @@ noremap <up> gk
noremap <down> gj
inoremap <up> <C-o>gk
inoremap <down> <C-o>gj
-" use tab for completion
-inoremap <expr> <Tab>
- \ strpart(getline('.'), 0, col('.') - 1) =~ '\(^\\|\s\+\)$'
- \ ? "\<Tab>"
- \ : "\<C-n>"
-inoremap <S-Tab> <C-p>