Commit graph

70 commits

Author SHA1 Message Date
t-e-r-m
1dd796b180 Added :defer to dired-aux use-package! 2020-08-29 21:08:57 +05:30
t-e-r-m
0ef8f0031f configure dired-aux variables
`dired-create-destination-dirs` : set to "ask", non-existent directories will be
created when copying, if the user consents.
`dired-vc-rename-file` : rename file using the vc system, if present
2020-08-29 18:45:31 +05:30
t-e-r-m
4e92adaa08 Configure dired-git-info variables
dgi-commit-message-format set to

%h  - Abbreviated commit hash
%cs - committer date, short format (YYYY-MM-DD)
%s  - subject

First two are fixed-width, which makes it look neater.
2020-08-19 18:28:27 +05:30
Henrik Lissner
523e945a3a
Fix #3215: ripgrep reporting error code 2 on Windows
Closes #3512
2020-07-17 19:24:26 -04:00
Henrik Lissner
07714a12d4
Fix wrong-type-argument: sequencep 45 opening dired 2020-05-25 22:16:11 -04:00
Henrik Lissner
b625a54db6
Add -v switch to dired-listing-switches (for GNU ls)
Natural sorting of ls file list (when it comes to numbers/versions in
file names).
2020-05-25 03:43:40 -04:00
Henrik Lissner
ea18c83c0a
General refactors & reformatting across the board 2020-05-15 01:44:53 -04:00
Henrik Lissner
bc0db09a28
Fix #1703: dired not listing files over TRAMP 2020-05-12 23:22:50 -04:00
Henrik Lissner
bd6405673e
Fix #1703: dired listing no files over tramp
...on systems that don't have GNU ls installed and don't support
--group-directories-first
2020-05-03 13:39:29 -04:00
Henrik Lissner
7481bfd4d5
Remove -B from dired-listing-switches default
i.e. don't hide backup files in dired, or let dired-omit-mode handle
those.
2020-03-06 15:45:24 -05:00
Henrik Lissner
a4194c5746
Fix #1929: advice on non-existent functions 2020-02-29 11:29:25 -05:00
Mihai Dinu
46cc7f7fdf
Don't do dired git highlighting if remote
Fixes https://github.com/hlissner/doom-emacs/issues/2439
2020-01-27 23:50:05 +01:00
Henrik Lissner
2d97b877ed
Remove duplicate image-dired-dir setting 2020-01-06 04:49:57 -05:00
Henrik Lissner
54f42fef23
Add popup rules for image-dired 2019-12-29 15:44:10 -05:00
Henrik Lissner
995031f66f
emacs/dired: re-comment dired settings
Closes #2212
2019-12-19 18:42:37 -05:00
Henrik Lissner
0cb62657b7
emacs/dired: replace advice w/ remap for fd-dired 2019-12-13 14:23:44 -05:00
Henrik Lissner
33b78499fc
emacs/dired: fix {fd,find}-dired opening results in a popup #2159 2019-12-08 00:21:29 -05:00
Henrik Lissner
1655524836
emacs/dired: don't enable dired-hide-details-mode by default 2019-12-03 03:54:29 -05:00
Henrik Lissner
0bf1ea65dc
emacs/dired: disable dired-git-info by default
It is unacceptably slow in version controlled directories with many
files.
2019-11-25 02:02:57 -05:00
Henrik Lissner
b8c0126f8c
emacs/dired: don't enable dired-git-info in ranger
It won't correctly disable on `C-c C-e`, but it does work find if
enabled manually.

Also: refactors +dired-enable-git-info-h and map! call

Relevant to #2106
2019-11-24 16:50:47 -05:00
Henrik Lissner
5608ba7236
emacs/dired: disable dired-git-info-mode in wdired-mode
And refactor ranger/dired keybind for dired-git-info-mode (#2106).
2019-11-23 01:26:17 -05:00
Ting Zhou
a5ff637e6f emacs/dired: ranger catch up dired-git-info 2019-11-22 22:14:23 -08:00
Max Nickel
d295c5d723 disable dired-git-info when ranger is enabled and fix keybinding 2019-11-02 14:31:53 -04:00
Max Nickel
1b962937ce add keybinding to toggle dired-omit-mode 2019-11-02 14:31:20 -04:00
Max Nickel
0d7d107bbf remove unnecessary dotfile functions and hooks 2019-11-02 14:29:51 -04:00
Max Nickel
49fce0b1c3 [dired] follow function naming conventions 2019-10-27 17:47:20 -04:00
Max Nickel
9d55e75bd8 [dired] add support for hiding dotfiles and hide details by default 2019-10-27 17:32:52 -04:00
Max Nickel
5660d7ba6b [dired] add dired-git-info support 2019-10-27 17:31:53 -04:00
Henrik Lissner
b0106e2ac7
emacs/dired: replace 18f20a531 w/ 'quit-all' command #1937
There are a few workflows where having multiple buffers (e.g.
side-by-side) is preferrable, however, `dired-find-alternate-file` kills
the old buffer indiscriminately.
2019-10-26 13:39:52 -04:00
Henrik Lissner
18f20a5313
emacs/dired: stop dired buffer pollution #1937 2019-10-23 01:48:48 -04:00
Rudi Grinberg
e589c17cf6 Turn on dired-dwim-target
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-10-23 12:51:49 +09:00
Henrik Lissner
bf46a197a0
emacs/dired: appease byte-compiler sama 2019-10-22 12:36:43 -04:00
Henrik Lissner
0ccf31635d
emacs/dired: fix icons interfering w/ wdired #1929 2019-10-22 01:58:17 -04:00
Henrik Lissner
e0469e14c0
Minor refactors & reformatting across the board 2019-10-20 19:57:27 -04:00
Henrik Lissner
35b9abd230
emacs/dired: integrate open/xdg-open/start w/ dired 2019-10-19 22:22:50 -04:00
Henrik Lissner
5783fe5e7e
emacs/dired: expand dired-omit-files 2019-10-19 22:22:50 -04:00
Henrik Lissner
2478271583
emacs/dired: add fd-dired for faster find-dired
...if you have fd installed.
2019-10-19 22:22:50 -04:00
Henrik Lissner
a9919a5360
Fix #1703: blank dired over TRAMP
When the remote system does not have GNU ls installed.
2019-10-07 22:12:16 -04:00
Henrik Lissner
81ee250c09
Minor refactor & revision across the board 2019-09-03 00:59:46 -04:00
Henrik Lissner
07dfe2703c
Fix void-function diff-hl-magit-post-refresh error 2019-09-02 12:42:02 -04:00
Henrik Lissner
3c4252ffe7
Merge branch 'develop' into dired 2019-09-02 00:51:52 -04:00
Ting Zhou
db5049e13e emacs/dired: minor fix 2019-08-27 00:14:51 -07:00
Ting Zhou
c5c500e033 emacs/dired: ranger already come with omit-mode 2019-08-26 00:01:37 -07:00
Ting Zhou
ebff3ff6e0 emacs/dired: use diff-hl instead of dired-k 2019-08-25 23:20:17 -07:00
Henrik Lissner
82ae3a73f3
def-advice!->defadvice! & conform to new advice conventions
This commit does two things:

- Renames def-advice! to defadvice!, in the spirit of naming convenience
  macros after the function/macro they enhance or replace.
- Correct the names of advice functions to indicate visibility and
  intent. A public advice function like doom-set-jump-a is meant to be
  used elsewhere. A private one like +dired--cleanup-header-line-a
  shouldn't -- it likely won't work anywhere but the function(s) it was
  made to advise.
2019-07-23 17:24:56 +02:00
Henrik Lissner
76cacb5bfe
💥 Rename def-package! -> use-package!
Calling this pivotal macro "def-package!" has frequently been a source
of confusion. It is a thin wrapper around use-package, and it should be
obvious that it is so. For this reason, and to match the naming
convention used with other convenience macros/wrappers, it is now
use-package!.

Also changes def-package-hook! -> use-package-hook!

The old macros are now marked obsolete and will be removed when straight
integration is merged.
2019-07-23 12:50:45 +02:00
Henrik Lissner
c795a988e6
Conform many modules to new conventions 2019-07-23 12:30:47 +02:00
Henrik Lissner
952e9dd220
emacs/dired: auto-revert & reduce prompting 2019-07-22 02:37:45 +02:00
Henrik Lissner
a6490020c7
emacs/dired: remove duplicate evil keybinds
Redundant with evil-collection-dired
2019-06-10 09:38:55 +02:00
Henrik Lissner
ed69d580fb
emacs/dired: fix ranger oddities
Added two hacks to fix two obnoxious issues Ranger has, having to do
with it failing to clean up after itself. In particular:

1. A left over mouse-1 bind that traps focus in a particular
   window (easy to get around with keyboard-based window switch
   commands, but this renders the mouse useless),

2. And the lingering ranger header bar (i.e. it doesn't clean up
   header-line-format).

This commit also ensures Deer overrides dired if +ranger is enabled.
2019-05-20 21:09:12 -04:00