Commit graph

743 commits

Author SHA1 Message Date
351412231f
refactor: run zig fmt 2024-11-17 20:47:25 +01:00
3524f70db5
build: add multi arch release build option 2024-11-17 20:46:00 +01:00
f2ba7589fb
build: remove optimize_deps option 2024-11-17 16:41:20 +01:00
4d09dc4e7e
fix: keybind tests 2024-11-16 03:06:48 +01:00
524e5be47c
feat: add flow native keybinding parser 2024-11-16 03:06:40 +01:00
34f7c0a7bd
feat: start adding mini mode keybindings 2024-11-16 00:49:26 +01:00
4c2128b5dd
feat: remove debugging logs 2024-11-16 00:36:00 +01:00
881bb865f2
fix: don't try to insert non input key events 2024-11-16 00:33:40 +01:00
7351cb7d7c
feat: add flow normal and palette mode keybindings 2024-11-16 00:32:35 +01:00
e6d2dca5c1
fix: be more careful with input_mode lifetimes 2024-11-15 23:59:07 +01:00
8ca6e413da
fix: binding key should be lowercase 2024-11-15 23:09:43 +01:00
175d2d968e
fix: break from interating the BindingSet before executing matched command
This prevents a crash. If the executed command switches modes the
BindingSet being iterated will be deleted. This commit fixes this by
exiting the iteration on match and executing the command at a point
where it is safe to delete the BindingSet.
2024-11-15 23:04:43 +01:00
4e7ccd1e00
fix: unbreak tests 2024-11-15 22:55:34 +01:00
6040ac5e1f
feat: log mode unloading 2024-11-15 22:53:41 +01:00
4ef7c149b8
feat: add remaining home screen dynamic bindings 2024-11-15 22:52:39 +01:00
2893347da7
fix: skip to next binding on parse error 2024-11-15 22:33:06 +01:00
376d14353a
fix: improve delayed initialization of input modes
Input modes are not loaded immediately on startup. There is a very
short delay. During this time all input is just dropped. This is to
make sure that the input buffer is flushed of any rubbish left over
from the previous application.

This commit fixes delayed initialization in cases where an input mode
is switched immediately on startup. For example when the home screen
loads.
2024-11-15 22:26:15 +01:00
f016277621
feat: improve logging of keybind parsing errors 2024-11-15 22:06:24 +01:00
14167d7869
refactor: log event and match counts in dynamic keybind 2024-11-15 21:16:32 +01:00
18f321bf41
refactor: move input types to new module and use directly use libvaxis types 2024-11-15 21:16:31 +01:00
Robert Burnett
e08c2aa3ba temporary fix for sequences being broken 2024-11-15 16:12:49 +01:00
Robert Burnett
bb3bea0a7f more bindings 2024-11-15 16:12:49 +01:00
Robert Burnett
b957e53bad get some basic vim navigation working 2024-11-15 16:12:49 +01:00
cf0cf7aaa6
refactor: add logging to keybind matcher and clean-up match state 2024-11-14 22:12:39 +01:00
00597ce93f
refactor: merge BindingSet functions init and load_json 2024-11-14 18:36:44 +01:00
ce76589f5c
refactor: load just a single binding set into each keybind handler 2024-11-14 18:31:34 +01:00
a80b613606
fix: re-work dynamic keybind allocation to fix some corruption 2024-11-14 18:01:38 +01:00
25eabfa4ca
fix: unbreak use_llvm and pie options on macos 2024-11-14 17:51:17 +01:00
29c7fbebc4
fix: add --stdin to gleam format 2024-11-14 17:40:29 +01:00
c903debb4b
feat: add gleam formatter 2024-11-14 17:33:01 +01:00
fd2799c6e3
feat: add gleam to file types 2024-11-14 15:38:46 +01:00
f0769de8e9
feat: update tree-sitter to add gleam support 2024-11-14 15:38:45 +01:00
26694e9b08
feat: support LSPs that use string IDs 2024-11-14 15:38:43 +01:00
8308be76cd
fix: update libvaxis and use stable upstream URL for zg 2024-11-14 15:38:42 +01:00
ce96caa3fc
fix: decode egc correctly in dynamic keybind module 2024-11-13 23:23:21 +01:00
2f201c7886
fix: prevent crash from keybind namespace and mode names going out of scope 2024-11-13 23:13:18 +01:00
4200b3c1f6
feat: add dynamic bindings for home mode (partial) 2024-11-13 19:06:09 +01:00
3661148daf
feat: lookup dynamic mode 2024-11-13 19:05:29 +01:00
ae3d21ad08
refactor: use the same create interface for all modes 2024-11-13 19:04:35 +01:00
0037695983 feat: add handler wrappers for dynamic keybind modes (incomplete) 2024-11-13 18:22:35 +01:00
7fff8fc529 refactor: move dynamic keybindings to keybind module 2024-11-13 18:22:35 +01:00
Robert Burnett
d33bb955f9 feat: Data driven keybindings 2024-11-13 18:22:35 +01:00
ced130b4f4
refactor: move helix mode keybindings to keybind module 2024-11-12 22:35:38 +01:00
d75e3dd9e3
fix: mode name in home mode 2024-11-12 22:20:58 +01:00
cf50f77abf
refactor: move vim mode keybindings to keybind module 2024-11-12 22:20:02 +01:00
4be4fe76e9
refactor: move flow mode keybindings to keybind module 2024-11-12 21:46:54 +01:00
b2c81c50ed
refactor: rename keybind module root source file 2024-11-12 21:39:16 +01:00
07a412c2b2
refactor: move home keybindings to keybind module 2024-11-12 21:37:31 +01:00
2a9e532340
feat: set default for enable_terminal_cursor to true 2024-11-07 12:26:45 +01:00
bf6e4f49b8
feat: set terminal cursor color to match theme 2024-11-07 10:54:43 +01:00