vimrc: update mappings
This commit is contained in:
parent
e777df2a3a
commit
532173bcaa
2
vimrc
2
vimrc
|
@ -137,6 +137,7 @@ nnoremap <silent> <leader>! :windo set norelativenumber<cr>
|
||||||
nnoremap <leader>m :marks<cr>
|
nnoremap <leader>m :marks<cr>
|
||||||
nnoremap <leader>v :vsplit<cr>
|
nnoremap <leader>v :vsplit<cr>
|
||||||
nnoremap <leader>s :split<cr>
|
nnoremap <leader>s :split<cr>
|
||||||
|
nnoremap <leader>rp "_dd<bar>P
|
||||||
|
|
||||||
" Git mappings
|
" Git mappings
|
||||||
"
|
"
|
||||||
|
@ -164,6 +165,7 @@ nnoremap <leader>ah :GitGutterLineHighlightsToggle<cr>
|
||||||
nnoremap <leader>aY :call CopyGitURLToLineOrRange()<cr>
|
nnoremap <leader>aY :call CopyGitURLToLineOrRange()<cr>
|
||||||
vnoremap <leader>aY :call CopyGitURLToLineOrRange()<cr>
|
vnoremap <leader>aY :call CopyGitURLToLineOrRange()<cr>
|
||||||
nnoremap <leader>ao :call OpenGitURLToLineOrRange()<cr>
|
nnoremap <leader>ao :call OpenGitURLToLineOrRange()<cr>
|
||||||
|
nnoremap <leader>ap :execute 'silent !ghpr <c-r><c-f>' \| redraw!<cr>
|
||||||
|
|
||||||
" echo filename of current buffer:
|
" echo filename of current buffer:
|
||||||
nmap <leader>fe :echom expand("%:p")<cr>
|
nmap <leader>fe :echom expand("%:p")<cr>
|
||||||
|
|
Loading…
Reference in New Issue