diff --git a/init.org b/init.org index e53fb01..7e0e043 100644 --- a/init.org +++ b/init.org @@ -290,15 +290,19 @@ muscle memory. #+BEGIN_SRC emacs-lisp ;; make vc commands available via leader key (evil-define-key 'normal 'global - (kbd "v") 'vc-prefix-map) + (kbd "v") vc-prefix-map) #+END_SRC +#+RESULTS: + #+BEGIN_SRC emacs-lisp ;; make project commands available via leader key (evil-define-key 'normal 'global - (kbd "p") 'project-prefix-map) + (kbd "p") project-prefix-map) #+END_SRC +#+RESULTS: + #+BEGIN_SRC emacs-lisp (evil-define-key 'normal 'global (kbd "ff") #'find-file @@ -313,11 +317,10 @@ muscle memory. #+END_SRC #+BEGIN_SRC emacs-lisp - (use-package harpoon - :ensure t - :commands (harpoon-add-file harpoon-go-to-1 harpoon-go-to-2 harpoon-toggle-quick-menu) - :config - (let ((pti-harpoon-map (make-sparse-keymap))) + (use-package harpoon + :ensure t + :init + (setq pti-harpoon-map (make-sparse-keymap)) (keymap-set pti-harpoon-map (kbd "h") 'harpoon-toggle-quick-menu) (keymap-set pti-harpoon-map (kbd "a") 'harpoon-add-file) (keymap-set pti-harpoon-map (kbd "f") 'harpoon-toggle-file) @@ -326,9 +329,12 @@ muscle memory. (keymap-set pti-harpoon-map (kbd "l") 'harpoon-go-to-3) (keymap-set pti-harpoon-map (kbd ";") 'harpoon-go-to-4) (keymap-set pti-harpoon-map (kbd "h") 'harpoon-toggle-quick-menu) - (evil-define-key 'normal 'global - (kbd "h") (pti-harpoon-map)))) + :bind + (("h" . ' 'pti-harpoon-map))) #+END_SRC + +#+RESULTS: + ** User Interface *** Do not show default splash screen #+BEGIN_SRC emacs-lisp