[emacs] dired hide details by default, ignore /var/eshell/lastdir
authorAmin Bandali <bandali@gnu.org>
Sun, 23 Dec 2018 22:33:21 +0000 (17:33 -0500)
committerAmin Bandali <bandali@gnu.org>
Sun, 23 Dec 2018 22:33:21 +0000 (17:33 -0500)
.gitignore
init.org

index 6b3fd73..c5f850f 100644 (file)
@@ -12,3 +12,4 @@
 !/var/abbrev.el
 
 !/lisp/bbdb/bbdb-autoloads.el
 !/var/abbrev.el
 
 !/lisp/bbdb/bbdb-autoloads.el
+/var/eshell/lastdir
index d148363..2bd523e 100644 (file)
--- a/init.org
+++ b/init.org
@@ -1098,11 +1098,13 @@ TODO: break this giant source block down into individual org sections.
                         (set-window-configuration wnd))))
         (error "no more than 2 files should be marked"))))
   :bind (:map dired-mode-map
                         (set-window-configuration wnd))))
         (error "no more than 2 files should be marked"))))
   :bind (:map dired-mode-map
-              ("e" . dired-ediff-files)
-              ("E" . dired-toggle-read-only)
-              ("z" . (lambda ()
-                       (interactive)
-                       (a/dired-start-process "zathura")))))
+              ("e"  . dired-ediff-files)
+              ("E"  . dired-toggle-read-only)
+              ("\\" . dired-hide-details-mode)
+              ("z"  . (lambda ()
+                        (interactive)
+                        (a/dired-start-process "zathura"))))
+  :hook (dired-mode . dired-hide-details-mode))
 
 (use-package eldoc
   :when (version< "25" emacs-version)
 
 (use-package eldoc
   :when (version< "25" emacs-version)
@@ -1891,6 +1893,8 @@ Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]].
   :bind ("C-=" . er/expand-region))
 #+end_src
 
   :bind ("C-=" . er/expand-region))
 #+end_src
 
+** TODO multiple-cursors
+
 * Email
 :PROPERTIES:
 :CUSTOM_ID: email
 * Email
 :PROPERTIES:
 :CUSTOM_ID: email