a leader to (re)set expand tab
This commit is contained in:
parent
fc9bda70f8
commit
54de8cf738
1 changed files with 1 additions and 0 deletions
1
.vimrc
1
.vimrc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue