Added the Perforce edit vim shortcut
This commit is contained in:
parent
aad400df4e
commit
6518b56f43
1 changed files with 3 additions and 0 deletions
3
vimrc
3
vimrc
|
|
@ -127,3 +127,6 @@ inoremap kj <Esc>
|
||||||
" stop hitting Esc or c-[!
|
" stop hitting Esc or c-[!
|
||||||
inoremap <Esc> <nop>
|
inoremap <Esc> <nop>
|
||||||
nnoremap <Esc> :noh<CR><Esc>
|
nnoremap <Esc> :noh<CR><Esc>
|
||||||
|
|
||||||
|
" open the current file for edit in Perforce
|
||||||
|
nnoremap <leader>p :! p4 edit %<CR>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue