Helm: Display relative line numbering

master
Pierre Neidhardt 2017-10-19 14:56:29 +01:00
parent 6039e6003e
commit 23c9994252
2 changed files with 10 additions and 2 deletions

View File

@ -20,6 +20,10 @@
"<escape>" 'helm-keyboard-quit)
(evil-define-key 'normal helm-map
"h" 'helm-next-source
"j" 'helm-next-line
"k" 'helm-previous-line
"l" 'helm-execute-persistent-action
"g" 'helm-beginning-of-buffer
"G" 'helm-end-of-buffer
(kbd "C-f") 'helm-next-page
@ -38,7 +42,10 @@
"C-/" 'helm-ff-run-find-sh-command
"M-h" 'helm-find-files-up-one-level
"M-l" 'helm-execute-persistent-action
"C-l" nil)) ; So the header displays the above binding.
"C-l" nil) ; So the header displays the above binding.
(evil-define-key 'normal map
"h" 'helm-find-files-up-one-level
"l" 'helm-execute-persistent-action))
(with-eval-after-load 'init-exwm
(define-keys exwm/helm-browser-map "M-d" 'helm-buffer-run-kill-persistent)

View File

@ -16,7 +16,8 @@
;;; TODO: Implement alternating-color multiline lists.
;;; See https://github.com/emacs-helm/helm/issues/1790.
;;; TODO: Display relative line numbers in Helm.
(when (require 'linum-relative nil t)
(helm-linum-relative-mode 1))
(when (require 'helm-descbinds nil t)
(helm-descbinds-mode))