summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRavi R Kiran <aine.marina@gmail.com>2013-12-27 04:51:34 (GMT)
committerRavikiran Rajagopal <aine.marina@gmail.com>2013-12-27 04:51:34 (GMT)
commit57ff6d322d50bd27a50fb124abc4c17f0477c0e3 (patch)
treeea4c13598e530fef4253db06fac4f0f5b750a636
parente54835ac82c80931523174b5c7d96f5c851d4200 (diff)
downloaddotemacs-57ff6d322d50bd27a50fb124abc4c17f0477c0e3.zip
dotemacs-57ff6d322d50bd27a50fb124abc4c17f0477c0e3.tar.gz
dotemacs-57ff6d322d50bd27a50fb124abc4c17f0477c0e3.tar.bz2
Avoid magit fullscreen mode
-rw-r--r--ravi-init-vc.el12
1 files changed, 10 insertions, 2 deletions
diff --git a/ravi-init-vc.el b/ravi-init-vc.el
index 28953f6..15335ee 100644
--- a/ravi-init-vc.el
+++ b/ravi-init-vc.el
@@ -34,8 +34,16 @@
magit-diff-refine-hunk t
magit-completing-read-function 'magit-ido-completing-read
)
- (require 'fullframe)
- (fullframe magit-status magit-mode-quit-window :magit-fullscreen nil)
+
+ ; Since magit-mode-quit-window is used by all magit windows (such as logs),
+ ; and since mucking with magit's keymap also leads to the same results, we
+ ; avoid showing magit-status in a fullscreen window until another solution
+ ; is found.
+ ;(require 'fullframe)
+ ;(fullframe magit-status magit-mode-quit-window :magit-fullscreen nil)
+
+ (setq magit-restore-window-configuration t)
+
(use-package vc-git
:defer t
:bind ("C-x v f" . vc-git-grep)