shortcuts for replacing words
This commit is contained in:
parent
036bc30b39
commit
e9da1b87e6
1 changed files with 5 additions and 0 deletions
5
vimrc
5
vimrc
|
|
@ -138,6 +138,11 @@ set foldcolumn=1
|
|||
" key mappings
|
||||
let g:mapleader = "\<space>"
|
||||
|
||||
" replace current word with last yanked/deleted text
|
||||
nnoremap <leader>pp "_diwP
|
||||
" replace current word with last yanked text
|
||||
nnoremap <leader>py diw"0P
|
||||
|
||||
" jk acts as escape in insert
|
||||
inoremap jk <esc>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue