Commit graph

73 commits

Author SHA1 Message Date
279789d4fa
fix: paste in mini and overlay modes 2024-11-22 12:39:22 +01:00
73b7031693
feat: add insert_command_name command 2024-11-21 18:04:49 +01:00
6372beb762
refactor: rename command.get_id and add command.get_name 2024-11-21 17:55:03 +01:00
150374afae
feat: add argument metadata to (most) commands that take parameters 2024-11-21 17:34:11 +01:00
3af2b09891
feat: generate hints for dynamic keybindings 2024-11-19 18:08:14 +01:00
b7985baffb
fix: add missing palette_menu_activate_quick command in open_recent 2024-11-18 23:00:58 +01:00
932409d6b7
feat: add support for key release dynamic bindings 2024-11-18 21:33:12 +01:00
27a54a6091
fix: palette insert handlers 2024-11-17 23:54:31 +01:00
18f321bf41
refactor: move input types to new module and use directly use libvaxis types 2024-11-15 21:16:31 +01:00
ae3d21ad08
refactor: use the same create interface for all modes 2024-11-13 19:04:35 +01:00
4e1796df27
fix: alpha rendering of buttons and palettes 2024-11-04 23:04:05 +01:00
cfb9f8cf11
refactor: remove unused parameter in set_base_style 2024-11-04 22:20:06 +01:00
e2da264133
refactor: move open_recent overlay mode to use common palette keybindings 2024-10-28 18:30:39 +01:00
67813fbb07
refactor: move palette keybindings to keybind module 2024-10-27 19:40:37 +01:00
525287c7ac
refactor: move mode.event_handler back to input mode 2024-10-27 18:53:24 +01:00
f67bfab5b7
refactor: move mini mode name and remove unused mode description field 2024-10-26 16:33:59 +02:00
16c5471126
refactor: move command and EventHandler out of the tui module 2024-10-25 22:39:04 +02:00
63734ef81b
feat: add ModalBackground and make all palettes modal 2024-10-19 18:29:10 +02:00
3ca4d06cc4
fix: palette scrollbar bounds 2024-10-09 21:02:02 +02:00
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