~edwargix/emacs.d

8ab4d872014761d1db7c2bde922242463ba38382 — David Florness 7 years ago 5e3f2ee
Remove cursor in helm
1 files changed, 5 insertions(+), 0 deletions(-)

M init.el
M init.el => init.el +5 -0
@@ 136,6 136,11 @@
    (require 'helm-config)
    (when (executable-find "curl")
      (setq helm-net-prefer-curl t))
    (add-hook 'helm-after-initialize-hook
	      ;; hide the cursor in helm buffers
	      (lambda ()
		(with-helm-buffer
		  (setq cursor-in-non-selected-windows nil))))
    (define-key helm-map (kbd "C-j") 'helm-next-line)
    (define-key helm-map (kbd "C-k") 'helm-previous-line)
    (define-key helm-map (kbd "C-h") 'helm-next-source)