From e536278add4c3181d4fdbaa30df81e1496898ba4 Mon Sep 17 00:00:00 2001 From: ThanosApollo Date: Tue, 25 Oct 2022 17:15:19 +0300 Subject: Add magit and pdf tools --- Developer/emacs/init.el | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'Developer/emacs/init.el') 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")) + + -- cgit v1.2.3