Better shortcut for p4 edit in vim
This commit is contained in:
parent
58caf1b9e2
commit
b84ee98c7d
1 changed files with 1 additions and 1 deletions
2
vimrc
2
vimrc
|
|
@ -158,7 +158,7 @@ let g:UltiSnipsJumpForwardTrigger="<tab>"
|
||||||
let g:UltiSnipsJumpBackwardTrigger="<s-tab>"
|
let g:UltiSnipsJumpBackwardTrigger="<s-tab>"
|
||||||
|
|
||||||
" open the current file for edit in Perforce
|
" open the current file for edit in Perforce
|
||||||
nnoremap <silent><leader>4 :! p4 edit %<cr>
|
nnoremap <silent><leader>p4 :! p4 edit %<cr>
|
||||||
|
|
||||||
" open split and switch to it
|
" open split and switch to it
|
||||||
nnoremap <leader>v <c-w>v<c-w>l
|
nnoremap <leader>v <c-w>v<c-w>l
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue