aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-08-16 12:22:28 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-08-16 12:22:28 +0100
commit022420c49803730f3dfcf14ce2b8b7418162a96c (patch)
tree683e4355863ab6817b3c941d00fb798c3b6f7f7e
parentbc3cb22281a50a162eeb29d798c97affb547e499 (diff)
downloaddotfiles-022420c49803730f3dfcf14ce2b8b7418162a96c.tar.gz
dotfiles-022420c49803730f3dfcf14ce2b8b7418162a96c.tar.bz2
dotfiles-022420c49803730f3dfcf14ce2b8b7418162a96c.zip
(Emacs/config)~auto filling some Lisp
-rw-r--r--Emacs/.config/emacs/config.org9
1 files changed, 5 insertions, 4 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 571e8ee..dac1b10 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -159,9 +159,9 @@ Clean all buffers except for those in ~+oreo/keep-buffers~.
(defun +oreo/clean-buffers ()
"Kill all buffers except any with names in +oreo/keep-buffers."
(interactive)
- (let ((should-not-kill #'(lambda (buf) (member (buffer-name buf) +oreo/keep-buffers)))
- (buffers (buffer-list)))
- (mapcar #'kill-buffer (cl-remove-if should-not-kill buffers))))
+ (let ((should-not-kill #'(lambda (buf) (member (buffer-name buf)
+ +oreo/keep-buffers))))
+ (mapcar #'kill-buffer (cl-remove-if should-not-kill (buffer-list)))))
#+end_src
** Custom window management
Emacs' default window management is horrendous, using other windows on
@@ -1066,7 +1066,8 @@ for all snippets I've got.
(insert-leader
"i" #'yas-insert-snippet)
:config
- (yas-load-directory (no-littering-expand-etc-file-name "yasnippet/snippets")))
+ (yas-load-directory (no-littering-expand-etc-file-name
+ "yasnippet/snippets")))
#+end_src
*** Hydra
Hydra is a great package by =abo-abo= (yes the same guy who made ivy