a leader to (re)set expand tab

This commit is contained in:
Johann Dreo 2013-06-17 10:56:29 +02:00
commit 54de8cf738

1
.vimrc
View file

@ -76,6 +76,7 @@ let mapleader = "," " leader key is comma
nnoremap xx "_dd
nnoremap <leader>t :set noexpandtab<CR>
nnoremap <leader>T :set expandtab<CR>
" Yank the line, comment it, paste it
nmap <leader>g yygccp