Revert back helm-descbinds on SPC ?

SPC / is now search in project with default input
This commit is contained in:
syl20bnr 2015-06-19 22:31:29 -04:00
parent d5bb7725d8
commit 8a925e9178
3 changed files with 7 additions and 8 deletions

View File

@ -400,14 +400,14 @@ function of a package.
## Key bindings discovery
Thanks to [guide-key][], whenever a prefix command is pressed (like `<SPC>`)
Thanks to [guide-key][], whenever a prefix command is pressed (like `SPC`)
a buffer appears after one second listing the possible keys for this prefix.
It is also possible to search for specific key bindings by pressing:
<SPC> ?
SPC ?
To narrow the bindings list to those prefixed with `<SPC>`,
To narrow the bindings list to those prefixed with `SPC`,
type a pattern like this regular expression:
SPC\ b

View File

@ -1666,8 +1666,8 @@ called =pt=.
**** Searching in a project
| Key Binding | Description |
|-----------------------+-----------------------------------------------------|
| ~SPC /~ or ~SPC s p~ | search with the first found tool |
| ~SPC ?~ or ~SPC s P~ | search with the first found tool with default input |
| ~SPC s p~ | search with the first found tool |
| ~SPC /~ or ~SPC s P~ | search with the first found tool with default input |
| ~SPC s a p~ | =ag= |
| ~SPC s a P~ | =ag= with default text |
| ~SPC s g p~ | =grep= with default text |

View File

@ -1945,8 +1945,7 @@ Search for a search tool in the order provided by `dotspacemacs-search-tools'."
"stf" 'spacemacs/helm-files-do-pt
"stF" 'spacemacs/helm-files-do-pt-region-or-symbol
;; current project scope
"/" 'spacemacs/helm-project-smart-do-search
"?" 'spacemacs/helm-project-smart-do-search-region-or-symbol
"/" 'spacemacs/helm-project-smart-do-search-region-or-symbol
"sp" 'spacemacs/helm-project-smart-do-search
"sP" 'spacemacs/helm-project-smart-do-search-region-or-symbol
"sap" 'spacemacs/helm-project-do-ag
@ -1969,7 +1968,7 @@ Search for a search tool in the order provided by `dotspacemacs-search-tools'."
(progn
(setq helm-descbinds-window-style 'split)
(add-hook 'helm-mode-hook 'helm-descbinds-mode)
(evil-leader/set-key "hk" 'helm-descbinds))))
(evil-leader/set-key "?" 'helm-descbinds))))
(defun spacemacs/init-helm-make ()
(use-package helm-make