Ver código fonte

vimrc: tab toggles expandtab

raylu 13 anos atrás
pai
commit
1a50488607
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      vimrc

+ 1 - 0
vimrc

@@ -38,6 +38,7 @@ map _ ct_
 map <C-n> gt
 map <C-p> gT
 map <C-h> :AS<CR>
+nmap <Tab> :set expandtab!<CR>:set expandtab?<CR>
 vmap P "_dP
 inoremap <C-d> <C-t>
 inoremap <C-a> <C-d>