From 0e971a7d8be33c208394d9b195985794284317a7 Mon Sep 17 00:00:00 2001 From: bd Date: Sat, 2 Nov 2024 11:12:47 -0400 Subject: read desc: eww visual fill, turn on recentf, custom scratch buffer... eww visual fill, shackle default use same window, fix broken compilation mode output, turn on recentf, custom scratch buffer creation --- .config/emacs/modules/bd--files.el | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to '.config/emacs/modules/bd--files.el') diff --git a/.config/emacs/modules/bd--files.el b/.config/emacs/modules/bd--files.el index a39f21c..f050132 100644 --- a/.config/emacs/modules/bd--files.el +++ b/.config/emacs/modules/bd--files.el @@ -3,17 +3,22 @@ ;;; Code: -(require 'recentf) - +(use-package recentf + :init + (recentf-mode 1) + :custom + (recentf-max-saved-items 2000) + (recentf-keep '(recentf-keep-default-predicate remote-file-p)) + (recentf-auto-cleanup 300)) (defun bd/zathura (file) - "Open FILE with zathura" + "Open FILE with zathura." (start-process "zathura" nil "zathura" (expand-file-name file))) (defun bd/mpv (file) - "Open FILE with mpv" + "Open FILE with mpv." (start-process "mpv" nil "mpv" "--force-window=yes" (expand-file-name file))) (defun bd/nsxiv (file) - "Open FILE with nsxiv" + "Open FILE with nsxiv." (start-process "nsxiv" nil "nsxiv" (expand-file-name file))) (defun bd/external-find-file-wrapper (f &rest args) -- cgit v1.2.3