From 99637606a1b85f60d7bbfc1ac4913fe83ff502fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Alvari=C3=B1o?= Date: Sun, 20 Mar 2022 00:07:31 +0100 Subject: [PATCH] Simplify magit section --- myconfig.org | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/myconfig.org b/myconfig.org index 3046679..7e2fc00 100644 --- a/myconfig.org +++ b/myconfig.org @@ -506,14 +506,12 @@ Quick navigation to words (setenv "SSH_AUTH_SOCK" "/run/user/1000/keyring/ssh") (use-package magit - :init - (progn - (bind-key "C-x g" 'magit-status) - ) - ) - - (setq magit-status-margin + :bind + ("C-x g" . magit-status) + :config + (setq magit-status-margin '(t "%Y-%m-%d %H:%M " magit-log-margin-width t 18)) + ) (use-package git-gutter :init