aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2021-06-28 11:30:10 +0200
committerMiquel Sabaté Solà <msabate@suse.com>2021-06-28 11:30:10 +0200
commit0339abfa8c9cece6a9f856be131632ee8331c167 (patch)
treeeb3b190df905cc219d14a5ca10427e0fd2583aad /.emacs.d
parent33f0c08edf28b2108b57a9dd61e41954ccb96195 (diff)
downloaddotfiles-0339abfa8c9cece6a9f856be131632ee8331c167.tar.gz
dotfiles-0339abfa8c9cece6a9f856be131632ee8331c167.zip
git: always sign commits
This also affects Magit, which needed to have a higher transient default level so the -S option of the commit panel was available. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/init.org3
1 files changed, 2 insertions, 1 deletions
diff --git a/.emacs.d/init.org b/.emacs.d/init.org
index ba1f29b..56d732d 100644
--- a/.emacs.d/init.org
+++ b/.emacs.d/init.org
@@ -1182,7 +1182,8 @@ Last but not least, =evil-numbers= brings a couple of bindings available on Vim
:ensure t
:config
(global-set-key (kbd "C-x g") 'magit-status)
- (global-set-key (kbd "C-c l") 'magit-log-buffer-file))
+ (global-set-key (kbd "C-c l") 'magit-log-buffer-file)
+ (setq transient-default-level 5))
#+END_SRC
=git-timemachine= is a package that goes hand-in-hand with Magit, and it provides a very easy way to go through the history of a file (while providing ways of jumping into Magit). You can enter it with @@html:<kbd>C-x t m</kbd>@@ (hopefully the mnemonic is self-evident).