summaryrefslogtreecommitdiff
path: root/helix-term/src/keymap.rs
Commit message (Collapse)AuthorAge
* Configurable keys 2 (Mapping keys to commands) (#268)PabloMansanet2021-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Refactor keymap definitions using macrosGokul Soumya2021-06-14
| | | | | Adds a macro rule to the `key!` macro so that keymaps using `Left`, `Home`, `Esc`, etc. will also be accepted.
* Fix jump behavior, goto_implementation now jumpIvan Tham2021-06-10
| | | | | Better jump behavior since we override the first jump if it's on the first document. At the same time, ctrl-i is now working with gd jumps.
* Update keymapWojciech Kępka2021-06-08
|
* commands: Add replace with yanked as `R`Wojciech Kępka2021-06-08
|
* Implement register selectionBenoît CORTIER2021-06-07
| | | | | | User can select register to yank into with the " command. A new state is added to `Editor` and `commands::Context` structs. This state is managed by leveraging a new struct `RegisterSelection`.
* Add diagnostics keybindingsWojciech Kępka2021-06-07
|
* Add ctrl-w in insert modeIvan Tham2021-06-06
| | | | | It seemed to panic when I pressed too many times, but that is from lsp side.
* Add window modeIvan Tham2021-06-06
| | | | Fix #93
* Add home-end keymaps, (as kakoune/vim do) (#83)Antoni Stevenet2021-06-05
| | | | | | | | | | | * add home-end keymaps * implement extend methods for extend_line_start, extend_line_end * add home-end mappings to keymaps.md * add ^-$ extend mappings for extend mode * pass cargo linter
* Replace ^/$ with gh/glnotoria2021-06-04
|
* use correct _extend methods, also remove unnecessary castsAntoni Stevent2021-06-03
|
* Add up/right/left/down arrow keymaps, similar to kakouneAntoni Stevent2021-06-03
|
* removed shift matchingJan Hrastnik2021-06-03
|
* Support ctrl-f and ctrl-b to page up/down, fixes #41Blaž Hrastnik2021-06-02
|
* Drop selection_lines completely, change move_line_start bindingBlaž Hrastnik2021-05-18
|
* Implement most of the view mode (z).Blaž Hrastnik2021-04-14
|
* Keep primary selection as space+space.Blaž Hrastnik2021-04-09
|
* N as extend with search (for now, N should be search_prev).Blaž Hrastnik2021-04-09
|
* Implement P as paste_before.Blaž Hrastnik2021-04-07
|
* Move pickers under my leader key mode (space).Blaž Hrastnik2021-03-30
|
* Repeat insert command (.).Blaž Hrastnik2021-03-30
|
* Store intra-files jumps (goto) on the jumplist.Blaž Hrastnik2021-03-29
|
* Replace Mode::Goto with just using on_next_key.Blaž Hrastnik2021-03-29
|
* wip: Hooks & trigger characters for completion/signature_help.Blaž Hrastnik2021-03-24
|
* Trivial jumplist implementation.Blaž Hrastnik2021-03-24
|
* Implement m / match_brackets (using tree sitter).Blaž Hrastnik2021-03-22
|
* Implement open_above (O).Blaž Hrastnik2021-03-22
|
* Implement replace command (r<key>).Blaž Hrastnik2021-03-22
|
* wipJan Hrastnik2021-03-16
|
* minor: TODO comment cleanupBlaž Hrastnik2021-03-16
|
* Add command for keeping only the primary selection.Blaž Hrastnik2021-03-15
|
* Implement keep_selections (filter selections on regex).Blaž Hrastnik2021-03-15
|
* Implement the f/t/F/T find/till family of commands.Blaž Hrastnik2021-03-11
|
* find-till (f) prototype, on_next_key mode implementation.Blaž Hrastnik2021-03-11
|
* minor: fix hover keyBlaž Hrastnik2021-03-02
|
* commands: Implement X as extend line.Blaž Hrastnik2021-03-01
|
* Add a selection mode again.Blaž Hrastnik2021-03-01
|
* commands: Implement join_selections.Blaž Hrastnik2021-02-26
|
* commands: = as range formatting (via lsp)Blaž Hrastnik2021-02-26
|
* lsp: Hover documentation draft.Blaž Hrastnik2021-02-25
|
* commands: Implement expand_selection.Blaž Hrastnik2021-02-22
|
* commands: add * as selection search.Blaž Hrastnik2021-02-22
|
* commands: Wire up toggle comments as ctrl-cBlaž Hrastnik2021-02-19
|
* search: Barebones implementation.Blaž Hrastnik2021-02-12
|
* Finally: Retain horizontal position when moving vertically.Blaž Hrastnik2021-02-12
|
* commands: % as select_all.Blaž Hrastnik2021-02-09
|
* A dumb "next view" implementation that works.Blaž Hrastnik2021-02-04
|
* commands: Implement select_on_matches.Blaž Hrastnik2021-01-22
|
* commands: add W and B (extend selection by word).Blaž Hrastnik2021-01-22
|