diff options
Diffstat (limited to 'emacs/.emacs.d/init.el')
-rw-r--r-- | emacs/.emacs.d/init.el | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 1e8cd33..f36cc23 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -2,7 +2,7 @@ (defun load-if-exists (filename) (when (file-exists-p filename) (load-file filename))) -(defun bab/disable-line-numbers (&optional dummy) +(defun bab/disable-line-numbers (&optional dummy dummy2) (display-line-numbers-mode -1)) (defun bab/sidebar-toggle () @@ -96,6 +96,15 @@ :config (counsel-projectile-mode 1) :after (ivy projectile)) +;; --- GIT INTEGRATION --- +(use-package magit + :commands + (magit-status) + :bind + (("<f12>" . magit-status)) + :hook + (magit-status-mode . bab/disable-line-numbers)) + ;; --- TABS --- (use-package all-the-icons) (use-package centaur-tabs |