[emacs/magit] auto-expand unmerged into upstream and recent commits
[~bandali/configs] / init.org
index 7ddf8ec..b30aebc 100644 (file)
--- a/init.org
+++ b/init.org
@@ -807,6 +807,12 @@ customizing it.
 
   "w"   '(:ignore t :wk "window")
   "w o" 'other-window
+  "w 0" 'delete-window
+  "w 1" 'delete-other-windows
+  "w 2" 'split-window-below
+  "w 3" 'split-window-right
+  "w u" 'winner-undo
+  "w r" 'winner-redo
 
   "q"   '(:ignore t :wk "quit")
   "q q" 'save-buffers-kill-terminal)
@@ -967,6 +973,7 @@ Not just how I do git, but /the/ way to do git.
   (setq
    magit-repository-directories '(("~/.emacs.d/" . 0)
                                   ("~/src/git/" . 1)))
+  (push (cons [unpushed status] 'show) magit-section-initial-visibility-alist)
   :custom-face (magit-diff-file-heading ((t (:weight normal)))))
 #+end_src