Commit Graph

38 Commits

Author SHA1 Message Date
Kovid Goyal
a0f6152aee Ensure num_cols is never zero 2025-10-09 16:05:13 +05:30
Kovid Goyal
7b0caaa491 ... 2025-09-21 10:26:37 +05:30
Kovid Goyal
591473d9c1 Fix #8997 2025-09-21 10:25:00 +05:30
Kovid Goyal
bd0f55531f Implement previews for plain text files 2025-07-20 19:24:17 +05:30
Kovid Goyal
2e92d610d5 Implement metadata based previews in choose-files 2025-07-20 09:31:17 +05:30
Kovid Goyal
80ce6946f7 Show a spinner while scanning/scoring is in progress 2025-07-12 08:34:15 +05:30
Kovid Goyal
fef57bd4c2 Format counts using user locale 2025-07-12 08:24:06 +05:30
Kovid Goyal
564195f94f Show results frame in cyan while scan in progress 2025-07-11 11:05:39 +05:30
Kovid Goyal
ecdeea930b Implement bindings to move current to first/last 2025-07-11 10:59:29 +05:30
Kovid Goyal
513fd720eb Implement mouse interaction with result list 2025-07-11 10:36:20 +05:30
Kovid Goyal
35b2553723 Mark selected files 2025-07-10 19:39:18 +05:30
Kovid Goyal
3fbaabe334 Fix arrow key movement in results list 2025-06-30 15:18:45 +05:30
Kovid Goyal
a8bb24e1c0 Use a faster result collection type for rendering sorted results 2025-06-29 22:22:20 +05:30
Kovid Goyal
17c84383f7 Dont store abspath on each result
Optimisation as abspath is calculated in hot path. Instead calculate on
demand.
2025-06-26 19:21:04 +05:30
Kovid Goyal
4256fa5418 Dont recurse into symlinks
Allows us to get rid of expensive tracking to avoid symlink loops.
Users can explicitly change dir to a symlinked dir to select from it.
2025-06-26 19:02:28 +05:30
Kovid Goyal
324b95f825 Fix recursion into symlinks to dirs 2025-06-25 08:35:38 +05:30
Kovid Goyal
8b51f4da87 Refactor scanning code
Only use channels for signalling, have worker threads append to results
array directly since this is thread safe
2025-06-24 11:28:51 +05:30
Kovid Goyal
e1a25a963c More work on choose files kitten 2025-06-18 17:21:05 +05:30
Kovid Goyal
579c380a72 Only store the file type bits not the full os.DirEntry in the result struct 2025-06-06 20:01:59 +05:30
Kovid Goyal
d8410dff24 Ensure positions are always sorted when rendering 2025-06-06 19:50:01 +05:30
Kovid Goyal
bd2d15406a Use a better icon for home folder in results title 2025-06-01 13:20:38 +05:30
Kovid Goyal
3e4e64c2b6 Implement Tab to change current dir 2025-06-01 08:16:56 +05:30
Kovid Goyal
986d441f38 ... 2025-05-25 14:38:40 +05:30
Kovid Goyal
d4a469475b Use half the force Luke 2025-05-25 14:36:07 +05:30
Kovid Goyal
bfc5b03ee1 Use the frame Luke 2025-05-25 14:17:09 +05:30
Kovid Goyal
73d1d076e0 Implement left/right movement 2025-05-25 13:45:42 +05:30
Kovid Goyal
68f02fc44f Fix drawing of results list 2025-05-25 11:46:19 +05:30
Kovid Goyal
c65729468a Handle up/down arrow keys to change current result 2025-05-25 10:12:23 +05:30
Kovid Goyal
5dc29563e8 Highlight current result using text styles not sizes
Works better when the current result is moved around
2025-05-25 10:00:56 +05:30
Kovid Goyal
96436f10f7 Allow modifying the score of matches using a regex 2025-05-23 11:31:50 +05:30
Kovid Goyal
daea53ac6d Simplify ellipsis handling logic 2025-05-22 23:19:55 +05:30
Kovid Goyal
bb79a27569 Render match 2025-05-22 22:40:34 +05:30
Kovid Goyal
1ab1e104b6 ... 2025-05-22 22:28:51 +05:30
Kovid Goyal
60e701271f Use a cache for icons 2025-05-21 22:36:40 +05:30
Kovid Goyal
f0537198e6 ... 2025-05-21 22:29:05 +05:30
Kovid Goyal
646bf47a43 Icons for file matches 2025-05-21 22:16:22 +05:30
Kovid Goyal
14043be919 More work on rendering results 2025-05-21 12:57:49 +05:30
Kovid Goyal
c2c9d2ceb2 Work on rendering results 2025-05-21 12:41:56 +05:30