Commit graph

54 commits

Author SHA1 Message Date
3bea19084c
fix: add missing selection_updated call to palette up/down commands 2024-10-09 20:48:50 +02:00
0542fdc680
refactor: use explicit error sets in MessageFilter and project_manager 2024-09-19 21:54:18 +02:00
d75dcd7b84
feat: add metadata to all commands 2024-09-17 23:00:53 +02:00
bdd16f43fb
feat: add support for command metadata 2024-09-17 23:00:48 +02:00
bf3fe5f2ba
refactor: run zigimports
closes: #38
2024-09-10 22:25:54 +02:00
7b812d73ea
refactor: change a -> allocator 2024-09-02 14:31:49 +02:00
7b877de6d7
feat: use palatte instance specific name and icon 2024-08-31 21:13:55 +02:00
9b80687373
fix: sort by length (shortest first) for equal fuzzy matching scores in palette 2024-08-29 19:09:25 +02:00
c01576412a
refactor: prefer orelse to if(pred) |x| x else y 2024-08-29 13:13:45 +02:00
3fe1e1ea26
fix: always sort results command_palette.restore_state 2024-08-27 21:19:23 +02:00
e83d9ea74d refactor: simplify load_entries in command and theme palette 2024-08-19 22:53:38 +02:00
67ffff4caa fix: allocate and free entry.name in open_recent_project palette 2024-08-19 22:52:19 +02:00
e6db0ce970 feat: add repeat keys for all palettes 2024-08-19 20:36:09 +02:00
231e4ccb88 feat: add open_recent_project and change_project commands 2024-08-19 20:35:05 +02:00
2a735cee5c fix: sprinkle @intCast to fix 32 bit arm builds 2024-08-16 22:02:53 +02:00
4b6c08154b feat: add theme selection palette
Also, refactor to share palette code and make palettes scroll properly
with the mouse wheel.
2024-08-14 21:27:32 +02:00
49b701c9af fix(command_palette): let pageup move all the way to the top 2024-08-11 22:41:04 +02:00
221bc5741d feat: improve styling of command palette scrollbar 2024-08-11 21:59:05 +02:00
8abeea6c98 refactor: minor formatting clean-up in open_recent 2024-08-11 21:37:25 +02:00
3cbca45b82 feat: improve layout of filelist view 2024-08-11 21:03:37 +02:00
9d9d9388b9 feat(open_recent): always size open recent file list to longest known file path 2024-08-08 21:37:16 +02:00
948328bcd0 docs: update readme and help 2024-08-01 18:10:05 +02:00
a5f27f51a1 feat(open_recent): color open recent pointer 2024-07-27 23:12:40 +02:00
24d07ec8a4 feat(palette): color command palatte pointer 2024-07-27 23:12:12 +02:00
c1d3394246 fix(palette): wrong use of command.ID in set_used_time 2024-07-27 13:41:59 +02:00
2db66a1369 feat: improve rendering of long file names in open recent file list 2024-07-22 23:44:22 +02:00
032982c1e8 refactor: rework error handling to simplifiy command implementation and provide better back traces 2024-06-26 23:29:39 +02:00
77b949306e feat(palette): persist command last used times 2024-06-23 19:26:36 +02:00
c167257c89 feat(palette): sort command palette by last used time 2024-06-22 21:57:19 +02:00
394874fb20 feat: add alternate keybinding for command palette
For terminals that block C-S-p.
2024-06-21 12:40:50 +02:00
deaad1e90a fix(palette): update command palette on resize 2024-06-21 01:37:48 +02:00
e7c8fea3f0 feat: add scrollbar to command palette 2024-06-21 01:20:17 +02:00
d4019d00b2 feat: add keybind hints to command palette 2024-06-20 22:27:13 +02:00
b4bc8276f8 fix(palette): select first item in command palette after query 2024-06-19 17:52:53 +02:00
0a3efee633 feat: add fuzzy matching to command palette 2024-06-19 17:37:09 +02:00
88a036113b fix(palette): correct resize handling in command_palette 2024-06-18 21:14:31 +02:00
25556336b9 feat: add initial simplistic command palette implementation 2024-06-14 21:48:28 +02:00
acd65d0157 fix: menu and open_recent resize handling 2024-06-14 20:41:01 +02:00
1cd3cb17ce feat: add libvaxis renderer 2024-05-10 12:44:14 +02:00
b15fa47f30 refactor: add renderer abstraction layer 2024-05-09 11:48:33 +02:00
dfdbb47367 feat: add close_file_without_saving command and keybinding (C-S-w) 2024-04-17 18:08:11 +02:00
438d64268e feat: add pasting support to open recent and find modes 2024-04-17 18:03:09 +02:00
0f5f41751e feat: add fuzzy matching to recent files list with fuzzig
Many thanks to @fjebaker
2024-04-15 18:59:23 +02:00
0053b80d81 refactor: improve button widget api 2024-04-10 18:39:47 +02:00
b3f2a8465d feat: exit open recent mode on Ctrl-C or Ctrl-G 2024-04-09 22:26:53 +02:00
cbf87ec7c0 feat: shorten long paths in recent file list 2024-04-09 22:22:06 +02:00
e2c565dfee fix: crash on shutdown from dangling logger references 2024-04-01 22:02:08 +02:00
744c6012a7 feat: add search box to open recent file mode 2024-03-28 22:29:40 +01:00
c4315d1dc5 feat: limit number of recent files returned by project manager 2024-03-27 22:25:04 +01:00
c36cd87119 fix: don't stay in open_recent mode if navigate fails 2024-03-27 21:13:56 +01:00