1
0
mirror of https://github.com/akelge/vim synced 2025-07-12 01:22:10 +00:00

Readded GuiTabLabel and fixed Tab completion

This commit is contained in:
Andrea Mistrali
2015-09-15 15:27:21 +02:00
parent 257cdebae5
commit fc96871ac5
2 changed files with 80 additions and 6 deletions

8
vimrc
View File

@ -133,8 +133,12 @@ function! CleverTab()
return "\<C-N>"
endfunction
" map the function to Tab
" inoremap <C-\> <C-R>=CleverTab()<CR>
" inoremap <Tab> <C-R>=CleverTab()<CR>
inoremap <C-\> <C-R>=CleverTab()<CR>
inoremap <Tab> <C-R>=CleverTab()<CR>
" map Shift-Tab to Snipmate
imap <S-Tab> <Plug>snipMateNextOrTrigger
smap <S-Tab> <Plug>snipMateNextOrTrigger
set completeopt=longest
" Emacs like indenting. Pressing Tab indents line