From 7743f3ed1b81fbc693d58585596bf7caf783d1c7 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Mon, 22 Feb 2021 11:51:15 +0800 Subject: More configurations Now TeX and elfeed are roughly configured. --- basic.el | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'basic.el') 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 -- cgit v1.2.3-18-g5258