Created
March 11, 2014 13:16
-
-
Save ghillairet/9485386 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let g:neocomplcache_disable_auto_complete = 1 | |
inoremap <expr><TAB> pumvisible() ? "\<C-n>" : <SID>check_back_space() ? "\<TAB>" : "\<C-x>\<C-u>" | |
function! s:check_back_space()"{{{ | |
let col = col('.') - 1 | |
return !col || getline('.')[col - 1] =~ '\s' | |
endfunction"}} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment