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.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/ravi-init-helm.el b/lisp/ravi-init-helm.el
index 1d78359..69e91bb 100644
--- a/lisp/ravi-init-helm.el
+++ b/lisp/ravi-init-helm.el
@@ -52,8 +52,11 @@
:config
(progn
(unbind-key "C-x c") ; default helm prefix key
- (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)
+ (defun ravi/set-up-helm-tab-binding ()
+ "Bind tab key: needs to occur after initial frame has been created"[B]
+ (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))
+ (add-hook 'emacs-startup-hook #'ravi/set-up-helm-tab-binding)
(use-package helm-posframe
:if window-system