From c41dbe74d61761f9ec159b5f414bac87992c72bb Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Sat, 27 Nov 2021 11:35:32 +0100 Subject: add keyboard shortcut for checking branches in magit-mode --- home/config/dotfiles/spacemacs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'home') diff --git a/home/config/dotfiles/spacemacs b/home/config/dotfiles/spacemacs index 64b2535..10e585a 100644 --- a/home/config/dotfiles/spacemacs +++ b/home/config/dotfiles/spacemacs @@ -556,16 +556,19 @@ before packages are loaded." ;; Variables customization (custom-set-variables '(merlin-command "ocamlmerlin")) + (global-company-mode t) + + ;; Key bindings (defun my-ediff-dotfile-and-template () (interactive) (ediff-files "~/code/nix/latitude-7490/home/config/dotfiles/spacemacs" (concat dotspacemacs-template-directory ".spacemacs.template"))) (spacemacs/set-leader-keys "feD" 'my-ediff-dotfile-and-template) - ;; ;; Other - ;; (require 'bibli-paris) - ) + + (spacemacs/set-leader-keys-for-major-mode 'magit-mode "b" 'magit-branch) +) ;; Do not write anything past this comment. This is where Emacs will ;; auto-generate custom variable definitions. -- cgit v1.2.3