Commit Graph

1749 Commits

Author SHA1 Message Date
Kovid Goyal
ccfd1d406e switch to a breadth first traversal 2025-06-24 22:01:49 +05:30
Kovid Goyal
7c6fa2db57 micro optimization 2025-06-24 21:18:56 +05:30
Kovid Goyal
6b07ad7ba4 When scores match tie break with length 2025-06-24 21:17:02 +05:30
Kovid Goyal
b8d53208ea string representation for combined score 2025-06-24 20:54:51 +05:30
Kovid Goyal
2426705a50 Do scoring in limited batch sizes for responsiveness 2025-06-24 20:42:32 +05:30
Kovid Goyal
18253114be finish wiring up the new scanning code 2025-06-24 20:03:51 +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
909671f508 Nicer error message when user tries to run kitten with allow_remote_control from command line 2025-06-22 09:26:54 +05:30
Kovid Goyal
9de6bfbbd7 More work on choose files kitten 2025-06-19 11:43:12 +05:30
Kovid Goyal
e1a25a963c More work on choose files kitten 2025-06-18 17:21:05 +05:30
Kovid Goyal
8aeb1ae6eb Implement merging of fzf results 2025-06-11 07:08:43 +05:30
Kovid Goyal
ecb342fb32 Start work on integration fzf code into choose files 2025-06-10 06:50:20 +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
a783d4932e ... 2025-06-03 20:44:06 +05:30
Kovid Goyal
6880ecaa28 Work on save file name mode 2025-06-03 20:27:14 +05:30
Kovid Goyal
23a21a60bd Output selected items 2025-06-02 10:30:23 +05:30
Kovid Goyal
a16ad78de8 ... 2025-06-02 08:56:28 +05:30
Kovid Goyal
ad41c365c8 Dont score files when browsing only directories 2025-06-02 08:43:23 +05:30
Kovid Goyal
7ab37116d7 Implement only dir selection mode 2025-06-02 08:35:35 +05:30
Kovid Goyal
618f864c77 ... 2025-06-01 13:29:56 +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
f81e441b15 Update TODO 2025-06-01 13:11:53 +05:30
Kovid Goyal
d1faccdd1c Loop API print proper stack traces for panics in go routines 2025-06-01 12:51:59 +05:30
Kovid Goyal
8d3b3f527c Let the user control recursion using the search pattern 2025-06-01 12:23:18 +05:30
Kovid Goyal
219a6fbd3e ... 2025-06-01 09:09:30 +05:30
Kovid Goyal
4d77c8739e Prefer lowercase entries
Also recurse to depth 1 by default. This matches behavior of GUI file
select dialogs and prevents perf problems
2025-06-01 09:01:43 +05:30
Kovid Goyal
cb477bfcfc Implement shift+tab to move up a level 2025-06-01 08:24:16 +05:30
Kovid Goyal
3e4e64c2b6 Implement Tab to change current dir 2025-06-01 08:16:56 +05:30
Kovid Goyal
62580c855b Make mypy 1.16 happy 2025-05-30 10:06:38 +05:30
Kovid Goyal
d2b871da68 ... 2025-05-28 12:05:28 +05:30
Kovid Goyal
22b52bb0b7 Add TODO 2025-05-26 06:13:20 +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
a3ef734c83 ... 2025-05-25 13:56:37 +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
5faa7bda5d hints kitten: Preserve line breaks when the hint is over a line break
Fixes #8674
2025-05-24 14:09:27 +05:30
Kovid Goyal
8e720cc1da ... 2025-05-24 13:25:22 +05:30
Kovid Goyal
54395da696 ... 2025-05-24 09:23:05 +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
f5740572b7 Set window title 2025-05-22 23:10:25 +05:30
Kovid Goyal
aec8a6b0b4 Use a regular expression for exclusion 2025-05-22 23:06:28 +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
6453cfd25a Implement directory exclusion 2025-05-22 22:19:23 +05:30