Commit Graph

13 Commits (43761d426cb0c508bfcea93c4bf1d08949e6c7c1)

Author SHA1 Message Date
Henry 8351a82c2c
simplify some keymap key names (#2677) 2 years ago
Oskar Nehlin a1e64815cb
Update book to include typable command remapping (#1240)
* Update book to include typable command remapping

* Add additional example
3 years ago
Blaž Hrastnik cab09093dd fix: Normalize backtab into shift-tab
Fixes #1150
3 years ago
NexiNov 4238a843f7
Add link to Keymap page in book. (#1137) 3 years ago
Omnikar d131a9dd0e
Allow keys to be mapped to sequences of commands (#589)
* Allow keys to be mapped to sequences of commands

* Handle `Sequence` at the start of `Keymap::get`

* Use `"[Multiple commands]"` as command sequence doc

* Add command sequence example to `remapping.md`
3 years ago
LollipopFt bf4c70e027
added Down keymapping. (#1019) 3 years ago
Rowan H 75a8e8afbd
Typo fix (#893) 3 years ago
Omnikar 3e12b00993
Add `no_op` command (#743)
* Add `no_op` command

* Document `no_op` in `remapping.md`
3 years ago
Gokul Soumya b59b248561
Add docs for registers, multi key remaps (#557) 3 years ago
wojciechkepka ed6528b9a6 fix: Docs, `select_line` -> `extend_line` 3 years ago
Gokul Soumya 29f77b9c5f Fix docx formatting and links 3 years ago
Perry Thompson f65db9397a Fix typos in Markdown documentation 3 years ago
PabloMansanet f7e00cf720
Configurable keys 2 (Mapping keys to commands) (#268)
* Add convenience/clarity wrapper for Range initialization

* Add keycode parse and display methods

* Add remapping functions and tests

* Implement key remapping

* Add remapping book entry

* Use raw string literal for toml

* Add command constants

* Make command functions private

* Map directly to commands

* Match key parsing/displaying to Kakoune

* Formatting pass

* Update documentation

* Formatting

* Fix example in the book

* Refactor into single config file

* Formatting

* Refactor configuration and add keymap newtype wrappers

* Address first batch of PR comments

* Replace FromStr with custom deserialize
3 years ago