Commit graph

381 commits

Author SHA1 Message Date
Henrik Lissner
33b78499fc
emacs/dired: fix {fd,find}-dired opening results in a popup #2159 2019-12-08 00:21:29 -05:00
Rudi Grinberg
0ea1974732 Add ibuffer filter group for the workspace
This introduces the +ibuffer-current-workspace function which open an
ibuffer with only buffers from the current workspace.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2019-12-07 23:02:06 +07: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
Henrik Lissner
26c8f5c6ef
Bytecompiler bytecompiler, won't you shut up 2019-11-23 01:21:25 -05:00
Ting Zhou
a5ff637e6f emacs/dired: ranger catch up dired-git-info 2019-11-22 22:14:23 -08:00
Henrik Lissner
df7a3e15df
Merge pull request #1971 from mnick/dired
emacs/dired: add dired-git-info & hide dotfiles/details
2019-11-21 17:24:18 -05:00
Henrik Lissner
99cd52e70f
💥 Drop Emacs 25.x support
Emacs 26.1 is Doom's new minimum supported version

Closes #2026
2019-11-08 16:02:06 -05:00
Henrik Lissner
df36e7f4d3
emacs/dired: update package list in README 2019-11-05 14:55:15 -05: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
b7046de2ca disable dired-git-info hook in remote directories 2019-11-02 14:28:35 -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
3c6f48f9ec
Move evil & corrective keybinds to respective modules
Keybinds that correct behavior or provide or extend vim functionality
were moved to their respective modules, or to the :editor evil module.

Keybinds in the global space, that are particularly opinionated but
potentially harmful or imposing as a default, or likely for users to
change (like leader keys), are kept in config/default.
2019-10-26 23:44:28 -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
d8ea65b968
emacs/vc: if prefix ARG, open region/line on master branch 2019-10-25 20:25:20 -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
6e0a93233d
Add emacs/ibuffer module
And bind 'SPC b i' to ibuffer
2019-10-20 15:14:26 -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
Henrik Lissner
3d1569515b
emacs/vc: minor reformatting
And fix ;;;###package cookies. They aren't necessary for after! or
use-package! blocks.
2019-08-27 00:05:12 -04: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
5b656ec56c
emacs/vc: refactor enforcement of git-commit conventions
To make it easier for users to customize.
2019-08-23 20:29:35 -04:00
Henrik Lissner
88293c962a
Update emacs/dired/README.org header 2019-08-15 15:41:09 -04:00
Guillaume Pagnoux
984bf08835 emacs/dired: add README.org
Signed-off-by: Guillaume Pagnoux <guillaume.pagnoux@lse.epita.fr>
2019-08-13 14:57:26 +02:00
Henrik Lissner
42869ece55
Remove git-timemachine-show-commit fix
The problem was fixed upstream.

See https://gitlab.com/pidu/git-timemachine/issues/77
2019-07-30 12:51:20 +02:00
Henrik Lissner
a89c004551
Refactor git-timemachine-show-commit fix (again) 2019-07-29 03:18:38 +02:00
Henrik Lissner
19ecf8e46a
Correct last inline hook defuns
See a3e262c7 for rationale
2019-07-28 16:10:53 +02:00
Henrik Lissner
aee1c851fc
Refactor git-timemachine-show-commit fix
As per https://gitlab.com/pidu/git-timemachine/issues/77
2019-07-28 02:32:25 +02: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
d7ed52f3c7
Add ui/hydra module
And conforms all existing hydras to the naming convention for
interactive commands, e.g.

  +vc-gutter-hydra -> +vc/gutter-hydra
2019-07-22 23:51:12 +02:00
Henrik Lissner
952e9dd220
emacs/dired: auto-revert & reduce prompting 2019-07-22 02:37:45 +02:00