Let dired sort by name instead of extension
This commit is contained in:
parent
ee6bbfe8a4
commit
ce78da22a1
@ -820,9 +820,9 @@ by means of the facilities of [[info:emacs#Dired][dired (info)]] as follows:
|
|||||||
6. Switch to the =org-mode= buffer and use {{{kbd(C-c C-l)}}} to insert the
|
6. Switch to the =org-mode= buffer and use {{{kbd(C-c C-l)}}} to insert the
|
||||||
=org-link= into the buffer.
|
=org-link= into the buffer.
|
||||||
|
|
||||||
Listing [[lst:setup-dired]] makes the directory editor sort entries alphabetically
|
Listing [[lst:setup-dired]] makes the directory editor group the directories in
|
||||||
by extension after grouping the directories and adds a key binding to
|
front of the files and sort each group alphabetically. It also adds a key
|
||||||
=dired-mode-map= to open files with the [[https://en.wikipedia.org/wiki/Eww_(web_browser)][Emacs Web Wowser]].
|
binding to =dired-mode-map= to open files with the [[https://en.wikipedia.org/wiki/Eww_(web_browser)][Emacs Web Wowser]].
|
||||||
|
|
||||||
#+caption[Setup =dired=]:
|
#+caption[Setup =dired=]:
|
||||||
#+caption: Setup =dired=.
|
#+caption: Setup =dired=.
|
||||||
@ -834,10 +834,9 @@ by extension after grouping the directories and adds a key binding to
|
|||||||
;; |--------+----------------------------------------|
|
;; |--------+----------------------------------------|
|
||||||
;; | -a | also list hidden entries |
|
;; | -a | also list hidden entries |
|
||||||
;; | -l | use a long listing format |
|
;; | -l | use a long listing format |
|
||||||
;; | -X | sort alphabetically by entry extension |
|
|
||||||
;; | -G | skip long listing format group names |
|
;; | -G | skip long listing format group names |
|
||||||
;; | -1 | list one entry per line |
|
;; | -1 | list one entry per line |
|
||||||
dired-listing-switches "-alGX1 --group-directories-first"
|
dired-listing-switches "-alG1 --group-directories-first"
|
||||||
dired-recursive-copies 'always
|
dired-recursive-copies 'always
|
||||||
dired-recursive-deletes 'always)
|
dired-recursive-deletes 'always)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user