arrange helm map

This commit is contained in:
Jean-Philippe Bernardy 2016-08-29 22:50:16 +02:00
parent fd0319ca3e
commit e2467a0b3b
2 changed files with 18 additions and 26 deletions

View file

@ -95,18 +95,13 @@
)
)
(eval-after-load 'helm
'(progn
(define-helm-key (kbd "u") 'helm-previous-line)
(define-helm-key (kbd "y") 'helm-next-line)
(define-helm-key (kbd ",") 'helm-previous-page)
(define-helm-key (kbd ".") 'helm-next-page)
))
;; top row
(define-key boon-helm-command-map (kbd "f") 'helm-follow-mode)
(define-key boon-helm-command-map (kbd "y") 'helm-next-line)
(define-key boon-helm-command-map (kbd "u") 'helm-previous-line)
(with-eval-after-load 'helm
(define-helm-key (kbd "u") 'helm-previous-line)
(define-helm-key (kbd "y") 'helm-next-line)
(define-helm-key (kbd ",") 'helm-previous-page)
(define-helm-key (kbd ".") 'helm-next-page)
(define-helm-key (kbd "t") 'helm-execute-persistent-action)
)
(define-key isearch-mode-map [(control p)] 'helm-occur-from-isearch)

View file

@ -84,20 +84,17 @@
(defvar boon-helm-command-map (make-sparse-keymap))
(suppress-keymap boon-helm-command-map 't)
(eval-after-load 'helm
'(progn
(define-key helm-map [(tab)] 'helm-select-action)
(define-key helm-map (kbd "C-z") 'undefined)
(define-key helm-map [(escape)] 'helm-keyboard-quit)
(define-key helm-map [(control f)] 'helm-follow-mode)
(define-key helm-map (kbd "SPC") 'boon-completer-space)
(define-key helm-map (kbd "M-SPC") 'helm-toggle-visible-mark)
(define-key helm-map (kbd "C-<down>") 'helm-narrow-window)
(define-key helm-map (kbd "C-<up>") 'helm-enlarge-window)
(define-key helm-map (kbd "C-<RET>") 'helm-execute-persistent-action)
(define-key helm-map [(shift backspace)] 'helm-unmark-all)
(define-helm-key (kbd "f") 'helm-follow-mode)
))
(with-eval-after-load 'helm
(define-key helm-map [(tab)] 'helm-select-action)
(define-key helm-map (kbd "C-z") 'undefined)
(define-key helm-map [(escape)] 'helm-keyboard-quit)
(define-key helm-map (kbd "SPC") 'boon-completer-space)
(define-key helm-map (kbd "M-SPC") 'helm-toggle-visible-mark)
(define-key helm-map (kbd "C-<down>") 'helm-narrow-window)
(define-key helm-map (kbd "C-<up>") 'helm-enlarge-window)
(define-key helm-map (kbd "C-<return>") 'helm-execute-persistent-action)
(define-key helm-map [(shift backspace)] 'helm-unmark-all)
(define-helm-key (kbd "f") 'helm-follow-mode))
(define-key boon-goto-map "r" 'helm-register)
(define-key boon-goto-map "a" 'helm-apropos)