summaryrefslogtreecommitdiff
path: root/dired-conf.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-01-17 21:38:38 +0800
committerJSDurand <mmemmew@gmail.com>2021-01-17 21:38:38 +0800
commit82d3a1fcc5c36a48b2a404536f89e1d80c48d999 (patch)
treeb8df471f662006b921a0d544bd8bc171f0c9c0d5 /dired-conf.el
parent5f61771063f35f5cd6492708d89eb220e4067f6e (diff)
Tweak more things.
* basic.el (recenter-positions): In effect nothing changed. (prot-pulse-line): Puling the line. (pulse): Useful built-in library. (durand-pulse-pulse-line): My own tweak. (durand-pulse-recenter-top): Recenter and pulse. * init.el (prepare-in-hook-once): Make it interactive. (global-map): Add Org-mode bindings. ("durand-chercher-pdf"): Search PDFs quickly. * modeline.el (modeline-format-left): Remove the vertical bar. * org-conf.el (org-adapt-indentation) (org-modules) (org-hide-emphasis-markers) (org-hide-macro-markers) (org-hide-leading-stars): Steal some configurations from Protesilaos. (global-map) (org-mode-map): Add Org-mode bindings. (durand-pulse-pulse-line): (org-follow-link-hook): Pulse and recenter when following the link.
Diffstat (limited to 'dired-conf.el')
-rw-r--r--dired-conf.el14
1 files changed, 14 insertions, 0 deletions
diff --git a/dired-conf.el b/dired-conf.el
index 31d64fd..126c67c 100644
--- a/dired-conf.el
+++ b/dired-conf.el
@@ -1,4 +1,18 @@
;;; -*- lexical-binding: t; -*-
+(require 'dired)
+(require 'files)
(set 'insert-directory-program "gls")
(set 'dired-listing-switches "-alh --group-directories-first")
+(setq dired-dwim-target t)
+
+(require 'dired-aux)
+
+(setq dired-isearch-filenames 'dwim)
+(setq dired-create-destination-dirs 'ask)
+(setq dired-vc-rename-file t)
+
+(require 'wdired)
+
+(setq wdired-allow-to-change-permissions t)
+(setq wdired-create-parent-directories t)