Commit graph

1292 commits

Author SHA1 Message Date
Folke Lemaitre
31984e88a5
feat(explorer): keep expanded dir state. Closes #816 2025-01-31 13:55:52 +01:00
Folke Lemaitre
ff022416dd
fix(picker.actions): fix split/vsplit/tab. Closes #818 2025-01-31 13:48:30 +01:00
Folke Lemaitre
507a7a3b75
style(picker): sort keymaps 2025-01-31 13:48:30 +01:00
Folke Lemaitre
8b26bae6bb
feat(picker): added support for double cliking and confirm 2025-01-31 13:42:03 +01:00
Folke Lemaitre
836eb9a4e9
fix(explorer): don't disable netrw fully. Just the autocmd that loads a directory 2025-01-31 13:34:37 +01:00
Folke Lemaitre
151fd3d62d
fix(explorer): always use --follow to make sure we see dir symlinks as dirs. Fixes #814 2025-01-31 13:32:03 +01:00
Folke Lemaitre
0e4ddfd3ee
fix(util): better default icons when no icon plugin is installed 2025-01-31 13:14:05 +01:00
Folke Lemaitre
894ff74930
fix(picker.explorer): do LSP stuff on move 2025-01-31 10:05:44 +01:00
Folke Lemaitre
670c67366f
feat(explorer): new explorer module with shortcut to start explorer picker and netrw replacement functionlity 2025-01-31 08:31:49 +01:00
Folke Lemaitre
5420a64b66
feat(dashboard): play nice with file explorer netrw replacement 2025-01-31 07:44:44 +01:00
Folke Lemaitre
558b0ee04d
fix(dashboard): update on VimResized and WinResized 2025-01-31 07:44:12 +01:00
Folke Lemaitre
e784a9e672
fix(picker.format): use item.file for filename_only 2025-01-31 06:55:52 +01:00
Folke Lemaitre
fbd39a48df
fix(picker.keymaps): added normalized lhs to search text 2025-01-31 06:38:06 +01:00
Folke Lemaitre
1a5fd93b89
fix(picker.lazy): don't use live searches. Fixes #809 2025-01-31 06:28:02 +01:00
Folke Lemaitre
a13ff6fe0f
fix(picker): show_empty for files / grep. Closes #808 2025-01-31 06:23:08 +01:00
Folke Lemaitre
ec8eb60515
fix(picker.lines): col is first non-whitespace. Closes #806 2025-01-31 06:13:39 +01:00
Folke Lemaitre
b37ea748b6
fix(picker): no need to track jumping 2025-01-31 06:11:03 +01:00
Folke Lemaitre
08e6c12358
fix(picker): no auto-close when entering a floating window 2025-01-31 06:00:48 +01:00
Folke Lemaitre
b9e7c51e8f
perf(git): also check top-level path to see if it's a git root. Closes #807 2025-01-31 05:56:46 +01:00
Folke Lemaitre
f40f338d66
fix(picker): make jumping work again... 2025-01-31 00:06:50 +01:00
Folke Lemaitre
d76d9aaaf2
fix(git): basic support for git work trees 2025-01-30 23:37:50 +01:00
Folke Lemaitre
87dab7eca7
fix(picker): show help for input / list window with ?. 2025-01-30 23:06:51 +01:00
Folke Lemaitre
15a94117e1
fix(picker): add proper close 2025-01-30 22:57:54 +01:00
Folke Lemaitre
605f745198
feat(picker.explorer): focus dir on confirm from search 2025-01-30 22:56:28 +01:00
Folke Lemaitre
96c76c6d9d
feat(picker.actions): allow selecting the visual selection with <Tab> 2025-01-30 22:45:56 +01:00
Folke Lemaitre
18de5bb238
fix(win): properly handle closing the last window. Fixes #793 2025-01-30 22:26:39 +01:00
Folke Lemaitre
47993f9a80
fix(picker.preview): properly refresh the preview after layout changes. Fixes #802 2025-01-30 22:18:33 +01:00
Folke Lemaitre
08b9083f47
feat(picker.explorer): added explorer_move action mapped to m 2025-01-30 22:02:51 +01:00
Folke Lemaitre
a9591ed43f
feat(picker.jump): added opts.jump.close, which default to true, but is false for explorer 2025-01-30 21:12:05 +01:00
Folke Lemaitre
4e7356c9ad
refactor(picker.actions): move pick_win to util so it can be used outside the picker. Closes #623 2025-01-30 21:04:05 +01:00
Folke Lemaitre
ba5a70b84d
fix(picker.actions): when only 1 win, pick_win will select that automatically. Show warning when no windows. See #623 2025-01-30 20:57:17 +01:00
Folke Lemaitre
71070b78f0
fix(picker.explorer): fix cwd for items 2025-01-30 20:29:33 +01:00
Folke Lemaitre
9eecf4ed85
ci: debug check works, so remove test trigger :) 2025-01-30 20:26:01 +01:00
Folke Lemaitre
c66712b6c9
ci: debug check 2025-01-30 20:25:05 +01:00
Folke Lemaitre
276497b396
fix(picker.explorer): when searching, go to first non internal node in the list 2025-01-30 20:00:41 +01:00
Folke Lemaitre
89fcb3bb20
fix(picker.explorer): stop file follow when picker was closed 2025-01-30 19:49:00 +01:00
Folke Lemaitre
94a04062ea
style(picker): remove debug :) 2025-01-30 19:12:45 +01:00
Folke Lemaitre
db52796e79
feat(picker.explorer): live search 2025-01-30 19:11:37 +01:00
Folke Lemaitre
a998c714c3
fix(picker): only do preview scrolling when preview is scrolling and removed default preview horizontal scrolling keymaps 2025-01-30 18:17:32 +01:00
Folke Lemaitre
fdf4b0bf26 perf(picker.score): no need to track in_gap status. redundant since we can depend on gap instead 2025-01-30 17:56:14 +01:00
Folke Lemaitre
0df7c0bef5 fix(picker): show new notifications on top 2025-01-30 17:56:14 +01:00
Folke Lemaitre
00613bd416 feat(picker): new file explorer Snacks.picker.explorer() 2025-01-30 17:56:14 +01:00
Folke Lemaitre
e16a6a4413 feat(picker): reworked toggles (flags). they're now configurable. Closes #770 2025-01-30 17:56:14 +01:00
Folke Lemaitre
847509e12c feat(picker.format): directory formatting 2025-01-30 17:56:14 +01:00
Folke Lemaitre
7ad414e8a9 refactor(picker): indent/hierarchy => tree 2025-01-30 17:56:14 +01:00
Folke Lemaitre
3564f4fede feat(picker.actions): separate edit_split etc in separate split and edit actions. Fixes #791 2025-01-30 17:56:14 +01:00
Folke Lemaitre
0ffc00367a fix(picker.actions): detect and report circular action references 2025-01-30 17:56:14 +01:00
Folke Lemaitre
c8ce9e2b33 fix(layout): better handling of resizing of split layouts 2025-01-30 17:56:14 +01:00
Folke Lemaitre
115f8c6ae9 feat(layout): make fullscreen work for split layouts 2025-01-30 17:56:14 +01:00
Folke Lemaitre
4179fc11ec refactor(picker.format): remove redundant depth and addes support for indent guides to file formatter 2025-01-30 17:56:14 +01:00