Add a in helm micro-state to switch to actions page

and stay in micro-state
This commit is contained in:
syl20bnr 2015-02-05 00:15:53 -05:00
parent b1b9d0e08b
commit 798ef87427
2 changed files with 3 additions and 0 deletions

View file

@ -972,12 +972,14 @@ will turn-off the micro-state).
Key Binding | Description
--------------------|------------------------------------------------------------
<kbd>TAB</kbd> | initiate the micro-state
<kbd>a</kbd> | switch to actions page
<kbd>g</kbd> | go to first candidate
<kbd>G</kbd> | go to last candidate
<kbd>h</kbd> | go to previous page
<kbd>j</kbd> | select next candidate
<kbd>k</kbd> | select previous candidate
<kbd>l</kbd> | go to next page
<kbd>r</kbd> | switch to actions page and leave the micro-state (useful combined with <kbd>TAB</kbd>)
<kbd>t</kbd> | mark current candidate
<kbd>T</kbd> | mark all candidates
<kbd>v</kbd> | execute persistent action

View file

@ -1220,6 +1220,7 @@ which require an initialization must be listed explicitly in the list.")
(set-temporary-overlay-map
(let ((map (make-sparse-keymap)))
(define-key map "?" 'helm-help)
(define-key map "a" 'helm-select-action)
(define-key map "g" 'helm-beginning-of-buffer)
(define-key map "G" 'helm-end-of-buffer)
(define-key map "h" 'helm-previous-page)