From 8668898d9db43a766a9952aed4ba012171cf2a12 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 31 Oct 2017 00:41:59 -0400 Subject: i think this tab override is probably a bit too opinionated not sure how it interacts with things like supertab and whatnot --- vimrc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 7249a71..4f9c315 100644 --- a/vimrc +++ b/vimrc @@ -32,6 +32,13 @@ autocmd vimrc CmdWinEnter * nnoremap nnoremap H :bp nnoremap L :bn " }}} +" use tab for completion {{{ +inoremap + \ strpart(getline('.'), 0, col('.') - 1) =~ '\(^\\|\s\+\)$' + \ ? "\" + \ : "\" +inoremap +" }}} " fixups for my keyboard remappings {{{ nmap ) 0 nmap g) g0 -- cgit v1.2.3-54-g00ecf