summaryrefslogtreecommitdiff
path: root/basic.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-02-22 11:51:15 +0800
committerJSDurand <mmemmew@gmail.com>2021-02-22 11:51:15 +0800
commit7743f3ed1b81fbc693d58585596bf7caf783d1c7 (patch)
treee236de03db2b36c4d45b2fcf92ec89ea67859ba5 /basic.el
parent01c080b98c6c7b645ac5c502c896b0965b784cb1 (diff)
More configurations
Now TeX and elfeed are roughly configured.
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