summaryrefslogtreecommitdiffstats
path: root/lisp/ravi-init-helm.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ravi-init-helm.el')
-rw-r--r--lisp/ravi-init-helm.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/ravi-init-helm.el b/lisp/ravi-init-helm.el
index 9ea83db..1d78359 100644
--- a/lisp/ravi-init-helm.el
+++ b/lisp/ravi-init-helm.el
@@ -26,16 +26,18 @@
;;; Code:
(use-package helm
- :bind (("<escape>" . helm-command-prefix)
+ :bind (("H-h" . helm-command-prefix)
("M-x" . helm-M-x)
("<f1>" . helm-multi-files)
("<f2>" . helm-find-files)
("M-y" . helm-show-kill-ring)
("H-`" . helm-all-mark-rings))
+ :commands helm-command-prefix
:init
(progn
(require 'helm-config)
(setq helm-candidate-number-limit 100)
+ ;; (bind-key (xterm-kitty-make-binding-sequence "<escape>" 'escape))
;; From https://gist.github.com/antifuchs/9238468
(setq helm-idle-delay 0.0 ; update fast sources immediately (doesn't).
@@ -50,10 +52,11 @@
:config
(progn
(unbind-key "C-x c") ; default helm prefix key
- (bind-key "<tab>" 'helm-execute-persistent-action helm-map)
- (bind-key "H-<tab>" 'helm-select-action helm-map)
+ (bind-key (xterm-kitty-make-binding-sequence "<tab>" ?\t) 'helm-execute-persistent-action helm-map)
+ (bind-key (xterm-kitty-make-binding-sequence "H-<tab>" ?\t 'hyper) 'helm-select-action helm-map)
(use-package helm-posframe
+ :if window-system
:config
(helm-posframe-enable)
(setq helm-posframe-parameters '((left-fringe . 10)