" Completion related settings " " Tab completion " " will insert tab at beginning of line, " " will use completion if not at beginning " set wildmode=list:longest,list:full " function! InsertTabWrapper() " let col = col('.') - 1 " if !col || getline('.')[col - 1] !~ '\k' " return "\" " else " return "\" " endif " endfunction " inoremap =InsertTabWrapper() " inoremap " vim:ft=vim