4 ms·
I know this defeats the purpose of minimal configuration, but you can define those kinds of actions fairly easily by defining keymaps that compose multiple comm
by wasted_intel 8y ago
I know this defeats the purpose of minimal configuration, but you can define those kinds of actions fairly easily by defining keymaps that compose multiple commands[0]. For what you're after, you could do this:
keymap:
normal:
W:
- "cursor::move_to_start_of_previous_token"
- "buffer::change_token"
You can view the default keymap right in Amp, too, as well as a list of all of the commands. Happy to entertain a PR that sets that as a default keymap going forward. :)
[0] https://amp.rs/docs/configuration/#multiple-commands https://amp.rs/docs/configuration/#multiple-commands
- CraneWorm 8y agoThanks, I'll try it out. Maybe I'll drop you a PR if I have time :).