summaryrefslogtreecommitdiff
path: root/basic.el
diff options
context:
space:
mode:
Diffstat (limited to 'basic.el')
-rw-r--r--basic.el11
1 files changed, 9 insertions, 2 deletions
diff --git a/basic.el b/basic.el
index c248296..f8dd47f 100644
--- a/basic.el
+++ b/basic.el
@@ -6,6 +6,10 @@
(set 'eval-expression-print-length nil) ;; A value of nil means no limit.
(set 'eval-expression-print-level nil) ;; A value of nil means no limit.
+;;; resize horizontally
+
+(set 'fit-window-to-buffer-horizontally t)
+
;;; Important in order to read passwords
(setq epg-pinentry-mode 'loopback)
@@ -164,7 +168,10 @@ This will maintain the frame's width and height as well."
(display-buffer-same-window))
(,(rx (seq bos "*Flymake"))
(display-buffer-at-bottom)
- (window-height . 0.2))))
+ (window-height . 0.2))
+ (,(rx (seq bos "*Man " (one-or-more not-newline) "*" eos))
+ (display-buffer-in-tab durand-display-in-one-window)
+ (tab-name . "man page"))))
;;; Custom kill buffer function
@@ -177,7 +184,7 @@ window, then also delete the selected window."
(interactive "P")
(cond
((window-minibuffer-p (selected-window))
- ;; this is the same as calling `abort-recursive-edit'.
+ ;; this is the same as calling `abort-recursive-edit'.
(throw 'exit t))
(t (kill-buffer (current-buffer))))
(cond