aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-04-25 19:37:17 +0100
committerYann Herklotz <ymherklotz@gmail.com>2018-04-25 19:37:17 +0100
commit91c25e4ec1303d51fcfbc6e3b99715df100ef538 (patch)
tree78db699777281a69b015514466e03f37da7653b5
parent014dcfcf109272bf9b3200ef21a9549307e9eda2 (diff)
downloaddotfiles-91c25e4ec1303d51fcfbc6e3b99715df100ef538.tar.gz
dotfiles-91c25e4ec1303d51fcfbc6e3b99715df100ef538.zip
Adding helm
-rw-r--r--emacs/loader.org48
1 files changed, 47 insertions, 1 deletions
diff --git a/emacs/loader.org b/emacs/loader.org
index 8f97660..002210c 100644
--- a/emacs/loader.org
+++ b/emacs/loader.org
@@ -176,7 +176,7 @@ using the emacsclient.
*** Ivy / Swiper / Counsel
-#+BEGIN_SRC emacs-lisp
+#+BEGIN_SRC
(use-package counsel
:ensure t
:bind
@@ -232,6 +232,52 @@ using the emacsclient.
#+END_SRC
+*** Helm
+
+#+BEGIN_SRC emacs-lisp
+ (use-package helm
+ :ensure t
+ :config (require 'helm-config))
+
+ (use-package helm-mode
+ :config (helm-mode 1))
+
+ (use-package helm-utils
+ ;; Popup buffer-name or filename in grep/moccur/imenu-all etc...
+ :config (helm-popup-tip-mode 1))
+
+ (use-package helm-sys
+ :commands (helm-top)
+ :config (helm-top-poll-mode 1))
+
+ (global-set-key (kbd "M-x") 'undefined)
+ (global-set-key (kbd "M-x") 'helm-M-x)
+ (global-set-key (kbd "M-y") 'helm-show-kill-ring)
+ (global-set-key (kbd "C-x C-f") 'helm-find-files)
+ (global-set-key (kbd "C-c <SPC>") 'helm-all-mark-rings)
+ (global-set-key (kbd "C-x r b") 'helm-filtered-bookmarks)
+ (global-set-key (kbd "C-:") 'helm-eval-expression-with-eldoc)
+ (global-set-key (kbd "C-,") 'helm-calcul-expression)
+ (global-set-key (kbd "C-h d") 'helm-info-at-point)
+ (global-set-key (kbd "C-h i") 'helm-info)
+ (global-set-key (kbd "C-x C-d") 'helm-browse-project)
+ (global-set-key (kbd "C-h C-f") 'helm-apropos)
+ (global-set-key (kbd "C-h a") 'helm-apropos)
+ (global-set-key (kbd "C-h C-d") 'helm-debug-open-last-log)
+ (global-set-key (kbd "C-c i") 'helm-imenu-in-all-buffers)
+ (global-set-key (kbd "C-s") 'helm-occur)
+ (define-key global-map [remap jump-to-register] 'helm-register)
+ (define-key global-map [remap list-buffers] 'helm-mini)
+ (define-key global-map [remap dabbrev-expand] 'helm-dabbrev)
+ (define-key global-map [remap find-tag] 'helm-etags-select)
+ (define-key global-map [remap xref-find-definitions] 'helm-etags-select)
+ (define-key global-map (kbd "M-g a") 'helm-do-grep-ag)
+ (define-key global-map (kbd "M-g g") 'helm-grep-do-git-grep)
+ (define-key global-map (kbd "M-g i") 'helm-gid)
+ (define-key global-map (kbd "C-x r p") 'helm-projects-history)
+ (define-key global-map (kbd "C-x r c") 'helm-addressbook-bookmarks)
+#+END_SRC
+
** Visual
*** All the icons