diff options
author | johannst <johannes.stoelp@gmail.com> | 2019-08-25 20:42:53 +0200 |
---|---|---|
committer | johannst <johannes.stoelp@gmail.com> | 2019-08-25 20:42:53 +0200 |
commit | 2e4f31cfb1cd031231e79117bf281cbb2adcc25a (patch) | |
tree | a481224dd8f00eace10864dbfcd009af5af007b3 /emacs.el | |
parent | c0eb40dc25e646ab0dd20c557976e8c576c54f9e (diff) | |
download | dotfiles-2e4f31cfb1cd031231e79117bf281cbb2adcc25a.tar.gz dotfiles-2e4f31cfb1cd031231e79117bf281cbb2adcc25a.zip |
added leader key + helm-projectile + racer-find-definition mapping
Diffstat (limited to 'emacs.el')
-rw-r--r-- | emacs.el | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -42,6 +42,10 @@ :ensure t :config (evil-mode t) + ;; leader key + (defvar leader-map (make-sparse-keymap) + "Keymap for <leader> key.") + (define-key evil-normal-state-map (kbd "SPC") leader-map) ) ;; org @@ -63,6 +67,7 @@ :config (define-key helm-map (kbd "<tab>") 'helm-execute-persistent-action) (define-key helm-map (kbd "C-z") 'helm-select-action) + (define-key leader-map "ff" 'helm-projectile) (helm-mode t) ) @@ -110,4 +115,6 @@ (:map rust-mode-map ("TAB" . company-indent-or-complete-common) ) + :config + (evil-local-set-key 'normal (kbd "C-]") 'racer-find-definition) ) |