summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2021-11-27 11:35:32 +0100
committerQuentin Aristote <quentin@aristote.fr>2021-11-27 11:35:32 +0100
commitc41dbe74d61761f9ec159b5f414bac87992c72bb (patch)
treee1da2ecb3c66331a6f975e97e23f4417801910d0 /home
parent392ae204a73dba89a87f1a217a6d327e6e67b261 (diff)
add keyboard shortcut for checking branches in magit-mode
Diffstat (limited to 'home')
-rw-r--r--home/config/dotfiles/spacemacs9
1 files changed, 6 insertions, 3 deletions
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.