diff options
author | JSDurand <mmemmew@gmail.com> | 2021-02-22 11:51:15 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2021-02-22 11:51:15 +0800 |
commit | 7743f3ed1b81fbc693d58585596bf7caf783d1c7 (patch) | |
tree | e236de03db2b36c4d45b2fcf92ec89ea67859ba5 /basic.el | |
parent | 01c080b98c6c7b645ac5c502c896b0965b784cb1 (diff) |
More configurations
Now TeX and elfeed are roughly configured.
Diffstat (limited to 'basic.el')
-rw-r--r-- | basic.el | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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 |