Skip to content

Instantly share code, notes, and snippets.

@m-renaud
Last active January 12, 2017 00:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save m-renaud/8b93a6c72c7856f418f278b86852b607 to your computer and use it in GitHub Desktop.
Save m-renaud/8b93a6c72c7856f418f278b86852b607 to your computer and use it in GitHub Desktop.
Helm config
(require 'helm-config)
(require 'helm-ls-git)
(require 'helm-swoop)
(helm-mode)
;; Interactive buffer rebindings.
(define-key helm-map (kbd "<tab>") 'helm-execute-persistent-action)
(define-key helm-map (kbd "C-i") 'helm-execute-persistent-action)
(define-key helm-map (kbd "C-z") 'helm-select-action)
; Probably don't need this next one, I just use weird navigation commands.
(define-key helm-map (kbd "C-t") 'helm-previous-line)
;; Always open in same frame so you don't need ot shift your eyes on the screen.
(setq-default helm-split-window-default-site 'same)
;; Other rebindings.
(global-unset-key (kbd "C-x C-f"))
(global-set-key (kbd "C-x C-f") 'helm-find-files)
(global-unset-key (kbd "C-x b"))
(global-set-key (kbd "C-x b") 'helm-buffers-list)
;; helm-ls-git
(global-set-key (kbd "C-x C-d") 'helm-browse-project)
;; helm-swoop
(global-set-key (kbd "M-i") 'helm-swoop)
(provide 'mrenaud-helm)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment