Folke Lemaitre
270250cf46
fix(picker.projects): use fd or fdfind
2025-02-06 19:25:44 +01:00
Folke Lemaitre
1a30610ab7
perf(explorer): early exit for tree calculation
2025-02-06 14:29:45 +01:00
Folke Lemaitre
82c4a50985
feat(explorer): added support for live search
2025-02-06 10:25:39 +01:00
Folke Lemaitre
af31c31287
perf(picker): cache treesitter line highlights
2025-02-05 20:32:30 +01:00
Folke Lemaitre
c61114fb32
fix(explorer): always refresh state when opening the picker since changes might have happened that were not monitored
2025-02-05 15:33:07 +01:00
Folke Lemaitre
4c12475e80
feat(explorer): git index watcher
2025-02-05 11:10:03 +01:00
Folke Lemaitre
8c6c54e26a
ci: auto generate picker function types
2025-02-05 07:44:26 +01:00
Folke Lemaitre
d4e63531c9
feat(picker.lsp): use existing buffers for preview when opened
2025-02-04 22:06:02 +01:00
Folke Lemaitre
94bd2eff74
fix(explorer): last status for indent guides taking hidden / ignored files into account
2025-02-04 21:08:05 +01:00
Folke Lemaitre
38f392a8ad
fix(explorer): strip cwd from search text for explorer items
2025-02-04 20:40:29 +01:00
Folke Lemaitre
3fd437ccd3
fix(explorer): dont focus first file when not searching
2025-02-04 20:23:41 +01:00
Folke Lemaitre
1d4bea4a9e
feat(explorer): focus on first file when searching in the explorer
2025-02-04 19:48:50 +01:00
Folke Lemaitre
dfa79e0443
feat(explorer): show symlink target
2025-02-04 19:31:49 +01:00
Folke Lemaitre
8e0dfd2856
fix(git): use nul char as separator for git status
2025-02-04 19:08:38 +01:00
Folke Lemaitre
bc87992e71
fix(explorer.git): dont reset cursor when git status is done updating
2025-02-04 18:56:48 +01:00
Folke Lemaitre
c255d9c6a0
fix(explorer): dont process git when picker closed
2025-02-04 18:03:22 +01:00
Folke Lemaitre
50fa1be38e
fix(explorer): check that picker is still open
2025-02-04 18:02:08 +01:00
Folke Lemaitre
6149a7babb
feat(explorer): rewrite that no longer depends on fd
for exploring
2025-02-04 17:13:06 +01:00
Folke Lemaitre
455228ed3a
feat(rename): add old
to on_rename
callback
2025-02-04 17:10:55 +01:00
Folke Lemaitre
97570d23ac
fix(explorer): don't use --absolute-path option, since that resolves paths to realpath. See #901 . See #905 . See #904
2025-02-03 19:45:14 +01:00
Folke Lemaitre
44733eaa78
fix(explorer): clear selection after delete. Closes #898
2025-02-03 14:47:52 +01:00
Folke Lemaitre
34097ff37e
fix(explorer): clear cache after action. Fixes #890
2025-02-03 12:03:46 +01:00
Folke Lemaitre
85e1b343b0
feat(explorer): add hl groups for ignored / hidden files. Closes #887
2025-02-03 11:37:14 +01:00
Folke Lemaitre
cef4fc9181
perf(explorer): use cache when possible for opening/closing directories. Closes #869
2025-02-03 09:26:07 +01:00
Anton Kastritskii
62d99ed2a3
feat(picker.commands): do not autorun commands that require arguments ( #879 )
...
## Description
Currently when you use picker.commands to select a command that requires
an argument, it will cause an error. `:BlickCmd` is one example. To
avoid the error we can feed the keys to enter the command mode and
populate the command and leave it to the user what they want to do.
This is also what telescope
[does](415af52339/lua/telescope/builtin/__internal.lua (L399)
)
in its builtin command picker.
nargs values `*` or `?` mean that the command can be executed both with
arguments and without. I think it is safer to leave it to the user to
decide if they want them to either trigger a run or provide the
arguments. But happy to change it if you think running the commands by
default makes sense.
---------
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2025-02-02 22:16:41 +01:00
Folke Lemaitre
2528fcb02c
feat(explorer): recursive copy and copying of selected items with c
2025-02-02 20:32:51 +01:00
Folke Lemaitre
a54a21adc0
fix(explorer): keep global git status cache
2025-02-02 16:54:14 +01:00
Folke Lemaitre
efbc4a12af
fix(explorer): remove sleep :)
2025-02-02 16:50:23 +01:00
Folke Lemaitre
1ce435c6eb
fix(picker.explorer): use cached git status
2025-02-02 16:44:52 +01:00
Folke Lemaitre
c2dedb647f
feat(picker.projects): allow disabling projects from recent files
2025-02-02 16:37:24 +01:00
Folke Lemaitre
6f8f0d3c72
feat(picker.projects): projects now automatically processes dev folders and added a bunch of actions/keymaps. Closes #871
2025-02-02 16:09:00 +01:00
Folke Lemaitre
287db30ed2
perf(explorer): don't wait till git status finished. Update tree when needed. See #869
2025-02-02 14:29:19 +01:00
Folke Lemaitre
72826a72de
fix(picker.undo): add newlines
CI / ci (push) Failing after 0s
2025-02-02 09:50:09 +01:00
Folke Lemaitre
d61fb453c6
feat(picker.undo): make diff opts for undo configurable
2025-02-02 09:47:13 +01:00
Folke Lemaitre
8368176243
fix(picker.undo): cleanup tmp buffer
2025-02-02 09:37:59 +01:00
Folke Lemaitre
033db250cd
fix(picker.undo): disable swap for tmp undo buffer
2025-02-02 09:36:31 +01:00
Folke Lemaitre
3d4b8eeea9
perf(picker.undo): more performance improvements for the undo picker
2025-02-02 09:33:02 +01:00
Folke Lemaitre
c900e2cb3a
fix(picker.undo): copy over buffer lines instead of just the file
2025-02-02 09:20:28 +01:00
Folke Lemaitre
d4a5449813
perf(picker.undo): use a tmp buffer to get diffs. Way faster than before. Closes #863
2025-02-02 09:17:36 +01:00
Folke Lemaitre
44b8e38204
feat(picker.undo): better undo tree visualization. Closes #863
2025-02-02 08:25:18 +01:00
Folke Lemaitre
df0e3e3d86
fix(picker.actions): pass edit commands to jump. Closes #859
2025-02-01 19:13:22 +01:00
Folke Lemaitre
551d053c7c
fix(explorer): fix git status sorting
2025-02-01 17:30:32 +01:00
Folke Lemaitre
263dfde1b5
feat(explorer): added ]g
and [g
to jump between files mentioned in git status
2025-02-01 16:59:00 +01:00
Folke Lemaitre
8f87c2c32b
perf(picker.files): no need to check every time for cmd availability
2025-02-01 16:37:50 +01:00
Folke Lemaitre
3ca54beebb
ci: remove debug
2025-02-01 11:30:34 +01:00
Folke Lemaitre
f0f053a1d9
fix(picker): better main window management. Closes #842
2025-02-01 11:26:19 +01:00
Folke Lemaitre
2ff389312a
feat(explorer): more keymaps and tree rework. See #837
2025-02-01 10:20:03 +01:00
Folke Lemaitre
5549d4e848
fix(explorer): cwd is now changed automatically, so no need to update state.
2025-01-31 22:22:28 +01:00
Folke Lemaitre
d17449ee90
fix(explorer): after search, cursor always jumped to top. Closes #827
2025-01-31 21:39:25 +01:00
Folke Lemaitre
cd44efb60c
fix(picker): multi layouts that need async task work again.
2025-01-31 21:35:12 +01:00