aboutsummaryrefslogtreecommitdiff
path: root/emacs/init.org
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/init.org')
-rw-r--r--emacs/init.org17
1 files changed, 15 insertions, 2 deletions
diff --git a/emacs/init.org b/emacs/init.org
index c261250..36b22ab 100644
--- a/emacs/init.org
+++ b/emacs/init.org
@@ -473,8 +473,10 @@ Then, for keeping up with my projects I use the Projectile + Helm combination.
(helm-projectile-on))
#+END_SRC
-Finally, I've added a couple of bindings in evil mode. First of all, I want
-@@html:<kbd>C-p</kbd>@@ to use the proper function for finding files.
+I use @@html:<kbd>C-p</kbd>@@ as the binding for listing relevant files. This
+binding works either by using =helm-projectile= or the regular =helm-find=
+function. As a final touch, this binding also works for listing channels in ERC
+buffers.
#+BEGIN_SRC elisp
(defun erc-helm-buffer-list ()
@@ -686,6 +688,17 @@ whenever I use it, I want basic evil movement.
(kbd "w") 'evil-forward-word-begin))
#+END_SRC
+That being said, I also extend =dired= with some handy tweaks.
+
+#+BEGIN_SRC elisp
+(setq directory-free-space-args "-Pkh"
+ dired-dwim-target t
+ dired-omit-mode nil
+ dired-recursive-copies 'always
+ dired-recursive-deletes 'always
+ delete-old-versions t)
+#+END_SRC
+
And now instruct dired mode how to attach files when using mu4e. This is taken
from the [[https://www.djcbsoftware.nl/code/mu/mu4e/Dired.html#Dired][mu4e documentation]], and it's available by typing
@@html:<kbd>C-c RET C-a</kbd>@@.