diff options
| author | Thomas Schneider <qsx@qsx.re> | 2019-03-29 01:51:30 +0100 |
|---|---|---|
| committer | Thomas Schneider <qsx@qsx.re> | 2019-03-29 01:51:30 +0100 |
| commit | 187787af513d2143fb8109eafd68941a1a616d3d (patch) | |
| tree | 2b97af9c3bf854e8c879394dffb5f72d293c009f /dot.emacs.d/init.el | |
| parent | e6cb57e0effdf787684b9d46e59ce8a6b4a92ba3 (diff) | |
Emacs: Bind keymaps as such
Diffstat (limited to 'dot.emacs.d/init.el')
| -rw-r--r-- | dot.emacs.d/init.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dot.emacs.d/init.el b/dot.emacs.d/init.el index b44cf31..dd12fbf 100644 --- a/dot.emacs.d/init.el +++ b/dot.emacs.d/init.el @@ -55,8 +55,7 @@ (use-package projectile :config (projectile-mode 1) - :bind (:map projectile-mode-map - ("C-c p" . #'projectile-command-map))) + :bind-keymap ("C-c p" . projectile-command-map)) (use-package ace-window :bind ("M-o" . ace-window)) @@ -67,13 +66,14 @@ ("C-," . avy-goto-line))) (use-package helm-config - :bind ("C-c h" . #'helm-command-prefix)) + :bind-keymap ("C-c h" . helm-command-prefix) + :bind (:map helm-command-map + ("o" . #'helm-occur))) (use-package helm :bind (("M-x" . #'helm-M-x) ("M-y" . #'helm-show-kill-ring) ("C-x b" . #'helm-mini) ("C-x C-f" . #'helm-find-files) - ("C-c h o" . #'helm-occur) ("C-h SPC" . #'helm-all-mark-rings)) :config (helm-mode 1) |
