From 532173bcaa941ec4b3970727739abfd9ee862778 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Tue, 18 May 2021 21:56:09 +0200 Subject: [PATCH] vimrc: update mappings --- vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vimrc b/vimrc index e10290a..fa6b65c 100644 --- a/vimrc +++ b/vimrc @@ -137,6 +137,7 @@ nnoremap ! :windo set norelativenumber nnoremap m :marks nnoremap v :vsplit nnoremap s :split +nnoremap rp "_ddP " Git mappings " @@ -164,6 +165,7 @@ nnoremap ah :GitGutterLineHighlightsToggle nnoremap aY :call CopyGitURLToLineOrRange() vnoremap aY :call CopyGitURLToLineOrRange() nnoremap ao :call OpenGitURLToLineOrRange() +nnoremap ap :execute 'silent !ghpr ' \| redraw! " echo filename of current buffer: nmap fe :echom expand("%:p")