diff options
author | ThanosApollo <[email protected]> | 2022-10-25 17:15:19 +0300 |
---|---|---|
committer | ThanosApollo <[email protected]> | 2022-10-25 17:15:19 +0300 |
commit | e536278add4c3181d4fdbaa30df81e1496898ba4 (patch) | |
tree | 5f7ab66fcb1829ade7cb3c086a0fa352c0978367 /Developer/emacs | |
parent | 8a82a3b03cb156638bb2344d62a24deab288c497 (diff) |
Add magit and pdf tools
Diffstat (limited to 'Developer/emacs')
-rw-r--r-- | Developer/emacs/init.el | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/Developer/emacs/init.el b/Developer/emacs/init.el index 0911bf3..422c2b9 100644 --- a/Developer/emacs/init.el +++ b/Developer/emacs/init.el @@ -169,7 +169,7 @@ ;; :hook (evil-mode . apollo/evil-hook) :config (evil-mode 1) - (define-key evil-insert-state-map (kbd "C-g") 'evil-normal-state) + (define-key evil-insert-state-map (kbd "C-f") 'evil-normal-state) (evil-global-set-key 'motion "j" 'evil-next-visual-line) (evil-global-set-key 'motion "k" 'evil-previous-visual-line) @@ -192,3 +192,27 @@ (apollo/leader-keys "ts" '(hydra-text-scale/body :which-key "scale text")) + +(use-package pdf-tools) + + +(use-package projectile + :diminish projectile-mode + :config (projectile-mode) + :bind-keymap + ("C-c p" . projectile-command-map) + :custom ((projectile-completion-system 'ivy))) + +(use-package counsel-projectile + :config (counsel-projectile-mode)) + + +(use-package magit + :custom + (magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1)) + +(apollo/leader-keys + "g" '(:ignore t :which-key "Git") + "ga" '(magit-status :which-key "status")) + + |