Folke Lemaitre
3aad761620
fix(explorer.git): vim.schedule git updates
2025-02-04 19:02:34 +01:00
Folke Lemaitre
af968181af
fix(explorer.watch): pcall watcher, since it can give errors on windows
2025-02-04 18:59:04 +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
ef9b12d680
fix(exporer.tree): and now hopefully on windows
2025-02-04 18:22:45 +01:00
Folke Lemaitre
6f5399b47c
fix(explorer.tree): fix linux
2025-02-04 18:18:26 +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
b560054669
fix(explorer): windows
2025-02-04 16:56:05 +01:00
Folke Lemaitre
c22e46ab9a
fix(picker.list): nil check
2025-02-04 17:42:11 +01:00
Folke Lemaitre
427f036c65
fix(health): better health checks for picker. Closes #917
2025-02-04 17:24:27 +01:00
Folke Lemaitre
84d1a92fab
fix(picker.db): better script to download sqlite3 on windows. See #918
2025-02-04 17:19:15 +01:00
Folke Lemaitre
6936c1491d
feat(explorer): file watcher when explorer is open
2025-02-04 17:13:19 +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
52bc24c232
fix(picker.finder): correct check if filter changed
2025-02-04 17:11:58 +01:00
Folke Lemaitre
54a041f7fc
fix(picker.input): set as not modified when setting input through API
2025-02-04 17:11:41 +01:00
Folke Lemaitre
47b3b69570
feat(picker.matcher): internal on_match
2025-02-04 17:11:23 +01:00
Folke Lemaitre
455228ed3a
feat(rename): add old
to on_rename
callback
2025-02-04 17:10:55 +01:00
Folke Lemaitre
969608ab79
feat(picker): picker:dir()
to get the dir of the item (when a directory) or it's parent (when a file)
2025-02-04 17:10:17 +01:00
Folke Lemaitre
6235f44b11
feat(picker): opts.on_close
2025-02-04 17:09:47 +01:00
Folke Lemaitre
b773368f8a
feat(picker): better checkhealth
CI / ci (push) Failing after 0s
2025-02-03 21:06:11 +01:00
Folke Lemaitre
c667622fb7
fix(picker.select): default height shows just the items. See #902
2025-02-03 20:51:04 +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
762821e420
fix(picker.actions): close preview before buffer delete
CI / ci (push) Failing after 0s
2025-02-03 15:22:21 +01:00
Folke Lemaitre
44733eaa78
fix(explorer): clear selection after delete. Closes #898
2025-02-03 14:47:52 +01:00
Folke Lemaitre
95d3e7f961
fix(picker.actions): get win after splitting or tabnew. Fixes #896
2025-02-03 14:26:54 +01:00
Folke Lemaitre
e294fd8a27
fix(picker): better handling when entering the root layout window. Closes #894
2025-02-03 14:20:06 +01:00
Folke Lemaitre
abc0bbd160
refactor(picker.actions): generic picker action
2025-02-03 13:03:22 +01:00
Folke Lemaitre
c030827d7a
fix(picker.input): fixed startinsert weirdness with prompt buffers (again)
2025-02-03 13:03:22 +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
c8430fdd8d
fix(win): better handling of alien buffers opening in managed windows. See #886
2025-02-03 10:41:16 +01:00
Folke Lemaitre
604c603dfa
fix(picker.preview): update main preview when changing the layout
2025-02-03 10:41:16 +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
hankertrix
d897ead2b7
fix(picker.git_log): add extra space between the date and the message ( #885 )
...
## Description
Add additional space between the date of the commit and the commit
message so that the message is more readable. Also added support for
spaces between the type and the scope of the commit.
## Screenshots
Before:


After:


2025-02-03 09:03:15 +01:00
Folke Lemaitre
65907f75ba
feat(picker): automatically download sqlite3.dll on Windows when using frecency / history for the first time.
2025-02-03 08:59:00 +01:00
Folke Lemaitre
78c28535dd
feat(picker.matcher): added opts.matcher.history_bonus that does fzf's scheme=history. Closes #882 . Closes #872
2025-02-03 07:30:53 +01:00
Folke Lemaitre
69729608e1
fix(util): normkey. Closes #763
2025-02-03 07:09:28 +01:00
Folke Lemaitre
9a82f0a564
fix(picker.matcher): regex offset by one. Fixes #878
2025-02-02 23:41:19 +01:00
Folke Lemaitre
4242f90268
feat(picker.input): search syntax highlighting
2025-02-02 23:18:41 +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
5a2056575f
feat(picker.projects): enabled frecency for projects picker
2025-02-02 22:04:36 +01:00
Folke Lemaitre
ce67fa9e31
feat(picker.frecency): added frecency support for directories
2025-02-02 22:04:21 +01:00
Folke Lemaitre
00af290906
fix(picker.matcher): fix cwd_bonus check
2025-02-02 22:03:52 +01:00
Folke Lemaitre
1d99bac9bc
fix(picker): show regex matches in list when needed. Fixes #878
2025-02-02 21:14:43 +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
5c5b40b5d0
feat(picker.pickwin): optional win/buf filter. Closes #877
2025-02-02 19:35:33 +01:00
Folke Lemaitre
ced377a057
feat(picker.projects): added <c-t>
to open a new tab page with the projects picker
2025-02-02 19:28:55 +01:00
Folke Lemaitre
3d2a07503f
feat(picker.projects): default to tcd instead of cd
2025-02-02 19:28:55 +01:00
Folke Lemaitre
7c5f9f0204
style(picker): docs to put explorer right
2025-02-02 16:58:24 +01:00
Folke Lemaitre
a54a21adc0
fix(explorer): keep global git status cache
2025-02-02 16:54:14 +01:00