From 7982e2fae5defeb296c210e2aae098a8a11df25a Mon Sep 17 00:00:00 2001 From: Ariel D'ALessandro Date: Mon, 26 Jul 2021 20:57:58 +0200 Subject: Initialization of the repository, copy from https://github.com/adalessa/dotfiles --- plugin/git.vim | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 plugin/git.vim (limited to 'plugin/git.vim') diff --git a/plugin/git.vim b/plugin/git.vim new file mode 100644 index 0000000..21bcc9a --- /dev/null +++ b/plugin/git.vim @@ -0,0 +1,12 @@ +nmap ]h (GitGutterNextHunk) +nmap [h (GitGutterPrevHunk) + +nmap ghs (GitGutterStageHunk) +nmap ghu (GitGutterUndoHunk) + +" nmap gs :G +nmap gdh :diffget //2 +nmap gdl :diffget //3 + +nnoremap ga :Git fetch --all +nnoremap gl :Git pull -- cgit v1.2.3