Minor edits to the Dired sections of Doom Emacs config.

This commit is contained in:
Derek Taylor
2022-09-04 10:11:00 -05:00
parent 82b469c52c
commit 2812c5ab7d
4 changed files with 28 additions and 11 deletions

View File

@@ -354,10 +354,15 @@ Dired is the file manager within Emacs. Below, I setup keybindings for image pr
(kbd "R") 'dired-do-rename
(kbd "T") 'dired-do-touch
(kbd "Y") 'dired-copy-filenamecopy-filename-as-kill ; copies filename to kill ring.
(kbd "Z") 'dired-do-compress
(kbd "+") 'dired-create-directory
(kbd "-") 'dired-up-directory
(kbd "-") 'dired-do-kill-lines
(kbd "% l") 'dired-downcase
(kbd "% m") 'dired-mark-files-regexp
(kbd "% u") 'dired-upcase
(kbd "* %") 'dired-mark-files-regexp
(kbd "* .") 'dired-mark-extension
(kbd "* /") 'dired-mark-directories
(kbd "; d") 'epa-dired-do-decrypt
(kbd "; e") 'epa-dired-do-encrypt)
;; Get file icons in dired
@@ -393,6 +398,13 @@ If peep-dired is enabled, you will get image previews as you go up/down with 'j'
trash-directory "~/.local/share/Trash/files/")
#+end_src
=NOTE=: For convenience, you may want to create a symlink to 'local/share/Trash' in your home directory:
#+begin_example
cd ~/
ln -s ~/.local/share/Trash .
#+end_example
* DOOM THEME
Setting the theme to doom-one. To try out new themes, I set a keybinding for counsel-load-theme with 'SPC h t'.