[UPDATE][VIM] Better description for misc mappings
This commit is contained in:
parent
8b3eb2d05e
commit
b610120360
|
@ -1,9 +1,11 @@
|
||||||
" Yank until the end of line with Y, to be more consistent with D and C
|
" Yank until the end of line with Y, to be more consistent with D and C
|
||||||
nnoremap Y y$
|
nnoremap Y y$
|
||||||
|
|
||||||
" Mappings for working with vimrc
|
" Edit my vimrc in the current buffer
|
||||||
nnoremap <Leader>ev :edit $MYVIMRC<CR>
|
nnoremap <Leader>ev :edit $MYVIMRC<CR>
|
||||||
|
" Source my vimrc
|
||||||
nnoremap <Leader>es :source $MYVIMRC<CR>
|
nnoremap <Leader>es :source $MYVIMRC<CR>
|
||||||
|
" Source the current buffer
|
||||||
nnoremap <Leader>et :source %<CR>
|
nnoremap <Leader>et :source %<CR>
|
||||||
|
|
||||||
" Easier escape from insert mode
|
" Easier escape from insert mode
|
||||||
|
|
Loading…
Reference in a new issue