From ec308f0f8ec9c97c014edc182aec57b120184de7 Mon Sep 17 00:00:00 2001 From: Fabien Dubosson Date: Mon, 16 Nov 2015 20:01:21 +0100 Subject: [PATCH] Add a binding for helm-ag-pop-stack Close #2736 --- doc/DOCUMENTATION.org | 1 + layers/+distribution/spacemacs/packages.el | 2 ++ 2 files changed, 3 insertions(+) diff --git a/doc/DOCUMENTATION.org b/doc/DOCUMENTATION.org index 2c2151a51..b39a978b1 100644 --- a/doc/DOCUMENTATION.org +++ b/doc/DOCUMENTATION.org @@ -1932,6 +1932,7 @@ called =pt=. |-----------------+--------------------------------------------------------------------------| | ~SPC h l~ | resume the last =helm= buffer | | ~F3~ | in a =helm= buffer, convert a =helm= search buffer into a regular buffer | +| ~SPC s `~ | go back to the previous place reached with =helm-ag= | | ~SPC s L~ | focus the last converted search buffer | | Prefix argument | will ask for file extensions | diff --git a/layers/+distribution/spacemacs/packages.el b/layers/+distribution/spacemacs/packages.el index c4f20a6fd..b7eddc004 100644 --- a/layers/+distribution/spacemacs/packages.el +++ b/layers/+distribution/spacemacs/packages.el @@ -1217,6 +1217,8 @@ Search for a search tool in the order provided by `dotspacemacs-search-tools'." (kbd "q") 'quit-window) (spacemacs/set-leader-keys + ;; helm-ag marks + "s`" 'helm-ag-pop-stack ;; opened buffers scope "sb" 'spacemacs/helm-buffers-smart-do-search "sB" 'spacemacs/helm-buffers-smart-do-search-region-or-symbol