From 5cdfeef2faf12e607ab61e50566220ecada82049 Mon Sep 17 00:00:00 2001 From: Ag Ibragimov Date: Mon, 29 Jan 2018 11:01:11 -0800 Subject: [PATCH] git: adds `SPC g f d` - for magit-diff-buffer-file-popup --- layers/+source-control/git/README.org | 1 + layers/+source-control/git/packages.el | 1 + 2 files changed, 2 insertions(+) diff --git a/layers/+source-control/git/README.org b/layers/+source-control/git/README.org index b15c3edd3..edf617e08 100644 --- a/layers/+source-control/git/README.org +++ b/layers/+source-control/git/README.org @@ -107,6 +107,7 @@ Git commands (start with ~g~): | ~SPC g b~ | open a =magit= blame | | ~SPC g f f~ | view a file at a specific branch or commit | | ~SPC g f l~ | commits log for current file | +| ~SPC g f d~ | diff commands for current file | | ~SPC g H c~ | clear highlights | | ~SPC g H h~ | highlight regions by age of commits | | ~SPC g H t~ | highlight regions by last updated time | diff --git a/layers/+source-control/git/packages.el b/layers/+source-control/git/packages.el index 9657fd436..5aa79c3ea 100644 --- a/layers/+source-control/git/packages.el +++ b/layers/+source-control/git/packages.el @@ -137,6 +137,7 @@ "gc" 'magit-clone "gff" 'magit-find-file "gfl" 'magit-log-buffer-file + "gfd" 'magit-diff-buffer-file-popup "gi" 'magit-init "gL" 'magit-list-repositories "gm" 'magit-dispatch-popup