(Emacs)~tons of edits

I can't be bothered to annotate any of these.  Thinking of making a
new Emacs configuration as this one is unnecessarily bloated and I
can't think of any other way to fix it.
This commit is contained in:
2022-01-06 00:47:37 +00:00
parent 50acf591dc
commit c248ab0852
4 changed files with 24 additions and 8 deletions

View File

@@ -1144,10 +1144,11 @@ the projectile command map for quick access.
:general
(leader "p" #'projectile-command-map)
:init
(setq projectile-tags-command "ctags -Re -f \"%s\" %s \"%s\""))
(setq projectile-tags-command "ctags -R -f \"%s\" %s \"%s\""))
#+end_src
*** Counsel projectile
Counsel projectile provides the ivy interface to projectile commands, which is really useful.
Counsel projectile provides the ivy interface to projectile commands,
which is really useful.
#+begin_src emacs-lisp
(use-package counsel-projectile
:after (projectile counsel)
@@ -1464,12 +1465,12 @@ are some corners I'd like to adjust).
(dired-mode-hook . dired-hide-details-mode)
(dired-mode-hook . auto-revert-mode)
:init
(setq-default dired-listing-switches "-AFBl --group-directories-first")
(setq-default dired-listing-switches "-AFBl --sort=time --group-directories-first")
:general
(leader
:infix "d"
"f" #'find-dired
"D" #'dired-other-frame
"D" #'+dired/maybe-frame
"d" #'dired-jump
"l" (proc (interactive) (find-dired "~/Text/PDFs/" "-iname 'cs[0-9][0-9][0-9].pdf' -or -iname 'ma[0-9][0-9][0-9]*.pdf'")))
:config
@@ -1488,6 +1489,12 @@ thumb, otherwise open the file."
(image-dired-display-thumb)
(find-file-other-frame filename))))
(defun +dired/maybe-frame (&optional ARG)
(interactive "P")
(if ARG
(call-interactively #'dired-other-frame)
(call-interactively #'dired)))
(general-def
:states '(normal motion)
:keymaps 'dired-mode-map
@@ -1854,6 +1861,9 @@ work for me given the various TeX utilities installed via Arch.
:after ledger-mode)
#+end_src
** Zone
:PROPERTIES:
:header-args:emacs-lisp: :tangle no
:END:
Of course Emacs has a cool screensaver software.
#+begin_src emacs-lisp
@@ -2464,6 +2474,9 @@ book so it's useful to have some Emacs binds for it.
"sd" #'racket-send-definition))
#+end_src
** CSharp
:PROPERTIES:
:header-args:emacs-lisp: :tangle no
:END:
I sometimes use C# when I'm bored or if I'm trying out a language
feature.
#+begin_src emacs-lisp