aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/keymap.rs
Commit message (Collapse)AuthorAge
* Goto mode use infoboxIvan Tham2021-07-04
| | | | | In the meantime, change gm to gc. Remove extra space in mode title.
* Reduce calculation and improve pattern in infoboxIvan Tham2021-07-04
| | | | | | - switch to use static OnceCell to calculate Info once - pass Vec<(&[KeyEvent], &str)> rather than Vec<(Vec<KeyEvent>, &str)> - expr -> tt to allow using | as separator, make it more like match
* Suggestions for infobox changesIvan Tham2021-07-04
| | | Co-authored-by: Benoît Cortier <benoit.cortier@fried-world.eu>
* Add infoboxIvan Tham2021-07-04
|
* Remove #[allow(unused)] from helix-term, and fix unused imports.Nathan Vegdahl2021-07-02
| | | | Lots of other warning still left. Will address in subsequent commits.
* Incorporate long word commands into keymapPabloMansanet2021-06-29
|
* reverse the dependency between helix-tui and helix-view (#366)Keith Simmons2021-06-25
| | | | | | | | | * reverse the dependency between helix-tui and helix-view by moving a fiew types to view * fix tests * clippy and format fixes Co-authored-by: Keith Simmons <keithsim@microsoft.com>
* Fix previous broken refactor key into helix-viewIvan Tham2021-06-24
| | | | | | | | Need to be used for autoinfo Revert "Revert "Refactor key into helix-view"" This reverts commit 10f9f72232f5789323d689bf0f9cd359715770d6.
* Rename surround to match_modeGokul Soumya2021-06-22
|
* Handle line endings correctly in surroundGokul Soumya2021-06-22
|
* Add surround keybindsGokul Soumya2021-06-22
|
* Merge `x` and `X`Blaž Hrastnik2021-06-20
|
* Revert "Refactor key into helix-view"Blaž Hrastnik2021-06-19
| | | | | | Did not use defaults when custom keymap was used This reverts commit ca806d4f852e934651132fc9570a6110e30f646d.
* Make `home` and `end` work in insert modewojciechkepka2021-06-19
|
* Refactor key into helix-viewIvan Tham2021-06-19
| | | | Now also make use of Deserialize for Config.
* Make arrow keys and page up/down work in insert modewojciechkepka2021-06-19
|
* 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
|