Commit Graph

79 Commits

Author SHA1 Message Date
Kovid Goyal
a5433b8994 kitten choose-files: Add a new binding of Alt+Enter to modify the name of an existing file when choosing a save file name
Fixes #9387
2026-01-26 11:50:08 +05:30
Kovid Goyal
ada88e063b choose-files: Fix TAB completion in file prompt not respecting current cwd 2026-01-26 11:50:08 +05:30
Kovid Goyal
772805b8ec choose files: Add arbitrary command based previews
Needs testing. Someday.
2025-12-05 19:54:21 +05:30
Kovid Goyal
f8db2702db choose files: Add a few more output formats 2025-11-26 21:13:57 +05:30
Kovid Goyal
aef9988c62 Allow configuring how video previews are generated 2025-11-23 18:28:59 +05:30
Kovid Goyal
fae50137a9 Add a clear cache action 2025-11-23 12:15:29 +05:30
Kovid Goyal
37da04aad6 choose files: Add default mappings to choose a file and insert it into the terminal 2025-11-23 11:41:21 +05:30
Kovid Goyal
29d2796692 Fix output format not being respected for STDOUT 2025-11-23 11:02:33 +05:30
Kovid Goyal
7f2d0aebe9 choose-files: Add calibre based previews for ebook/document file types 2025-11-23 09:39:08 +05:30
Kovid Goyal
75c3019756 Avoid flicker when changing preview
Only render the new preview when it is fully ready, keep showing
previous preview till then.
2025-11-22 12:24:09 +05:30
Kovid Goyal
c5bde715a7 Only unload preview when changed instead of on each render 2025-11-22 11:27:27 +05:30
Kovid Goyal
a2255e979f Only retransmit placements when actually needed 2025-10-09 10:12:32 +05:30
Kovid Goyal
49d8b1a9d0 More work on image preview rendering 2025-10-08 22:00:12 +05:30
Kovid Goyal
4af95b3c51 choose_files: start work on image previews 2025-10-07 11:11:42 +05:30
Kovid Goyal
23d8648f5d Add a new "file" mode to the ask kitten 2025-08-15 21:18:25 +05:30
Kovid Goyal
0f67ff37df Allow accepting the currently displayed parent directory by pressing ctrl+enter 2025-07-24 08:20:43 +05:30
Kovid Goyal
bd0f55531f Implement previews for plain text files 2025-07-20 19:24:17 +05:30
Kovid Goyal
2bdbbd909c Handle color scheme changes in choose-files kitten 2025-07-20 13:43:59 +05:30
Kovid Goyal
2e92d610d5 Implement metadata based previews in choose-files 2025-07-20 09:31:17 +05:30
Kovid Goyal
fbe982e1aa choose files: Option to display title at top when OS titlebar is not available 2025-07-16 19:41:30 +05:30
Kovid Goyal
966f2cb700 Basic documentation for the choose files kitten 2025-07-16 13:15:27 +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
f34007c65a Handle multiple save files when entering save file names 2025-07-11 21:47:11 +05:30
Kovid Goyal
8ce7346616 mapping to switch to typing a save file name 2025-07-11 21:09:38 +05:30
Kovid Goyal
2bd8534df9 Implement completion for the save file entry prompt 2025-07-11 20:44:51 +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
3134941a84 Add keyboard shortcuts for toggling scan settings 2025-07-11 07:14:07 +05:30
Kovid Goyal
3fb9154f93 ... 2025-07-10 20:54:43 +05:30
Kovid Goyal
35b2553723 Mark selected files 2025-07-10 19:39:18 +05:30
Kovid Goyal
3469e1b044 Make the keyboard shortcuts configurable 2025-07-10 16:20:45 +05:30
Kovid Goyal
6f511ae66a Add a bunch of settings to control filesystem scanning 2025-07-10 10:30:48 +05:30
Kovid Goyal
ebe9842291 Implement file filters via dbus 2025-07-06 12:17:09 +05:30
Kovid Goyal
0a9d83e11b Allow more sophisticated event tracking for hover regions 2025-07-05 13:04:43 +05:30
Kovid Goyal
fdf0a13687 Change mouse pointer shape over input area 2025-07-05 12:23:44 +05:30
Kovid Goyal
834d0d3848 Make the filter labels clickable 2025-07-05 11:37:17 +05:30
Kovid Goyal
8f7bb926b4 Keyboard shortcuts to change filter 2025-07-04 14:41:10 +05:30
Kovid Goyal
76d0991b76 Work on filter support 2025-07-04 13:37:56 +05:30
Kovid Goyal
4cf4a19c69 Fix changing dir when possible not working if entry is actual dir 2025-07-03 12:21:42 +05:30
Kovid Goyal
115227e61a Allow simple interaction to pick save file name
can type and if no matches are found the typed text is used as the file
name with a further opportunity to edit it.
2025-07-03 12:14:24 +05:30
Kovid Goyal
28b2f0c819 Support window title 2025-07-03 09:08:19 +05:30
Kovid Goyal
599f2956ce Finish up code to run file chooser 2025-07-03 08:50:03 +05:30
Kovid Goyal
7375ee5e52 More work on choose files integration 2025-07-02 14:49:24 +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
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
9de6bfbbd7 More work on choose files kitten 2025-06-19 11:43:12 +05:30