aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/keymap.rs
Commit message (Collapse)AuthorAge
...
| * Shell commands (#547)Omnikar2021-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement shell interaction commands * Use slice instead of iterator for shell invocation * Default to `sh` instead of `$SHELL` for shell commands * Enforce trailing comma in `commands` macro * Use `|` register for shell commands * Move shell config to `editor` and use in command * Update shell command prompts * Remove clone of shell config * Change shell function names to match prompts * Log stderr contents upon external command error * Remove `unwrap` calls on potential common errors `shell` will no longer panic if: * The user-configured shell cannot be found * The shell command does not output UTF-8 * Remove redundant `pipe` parameter * Rename `ShellBehavior::None` to `Ignore` * Display error when shell command is used and `shell = []` * Document shell commands in `keymap.md`
* | dap: Remap keys, match current thread behavior from dap-mode, switch-threadBlaž Hrastnik2021-08-29
| |
* | Rename dap_in/_out to dap_step_in/_outBlaž Hrastnik2021-08-29
| |
* | Merge remote-tracking branch 'origin/master' into debugDmitry Sharshakov2021-08-28
|\|
| * Make `v` in select mode switch back to normal mode (#660)Omnikar2021-08-27
| | | | | | | | | | * Make `v` in select mode switch back to normal mode * Move select mode toggle to keymap instead of command
* | New way of starting debug sessionsDmitry Sharshakov2021-08-28
| |
* | Remove shortcut for starting debugDmitry Sharshakov2021-08-24
| |
* | Simplify variables displayDmitry Sharshakov2021-08-22
| |
* | editor: support stepIn, stepOut, next and pause commandsDmitry Sharshakov2021-08-22
| |
* | Add commands for variable introspectionDmitry Sharshakov2021-08-22
| |
* | Continue command in keymapDmitry Sharshakov2021-08-21
| |
* | Add command to detach debuggerDmitry Sharshakov2021-08-21
| |
* | Unify init and launch commandsDmitry Sharshakov2021-08-20
| |
* | move debug command to keybindingDmitry Sharshakov2021-08-20
| |
* | Add command to run debug targetDmitry Sharshakov2021-08-20
| |
* | dap: Split out launch from initBlaž Hrastnik2021-08-20
| |
* | Work towards a breakpoint UIBlaž Hrastnik2021-08-20
|/
* Refactor infobox rendering and parsing (#579)Gokul Soumya2021-08-17
|
* Resolve a couple TODOsBlaž Hrastnik2021-08-08
|
* Implement alt-( and alt-) to rotate selection contentsBlaž Hrastnik2021-08-08
|
* Implement selection rotation with `(` and `)`Blaž Hrastnik2021-08-06
|
* Refactor copy selection verticallyBlaž Hrastnik2021-08-05
|
* Vertical SelectionCor2021-08-05
|
* Add `goto_last_line` command, and bind it to `ge`.Nathan Vegdahl2021-08-04
| | | | Resolves #529.
* Add ctrl-z to suspendIvan Tham2021-08-03
|
* Fixes for new clippy lints in Rust 1.54.Nathan Vegdahl2021-07-29
|
* Fix goto line numberGokul Soumya2021-07-28
| | | | Regression from #454. Go to line 10 with `10gg` or `10G`.
* Show pending keys in status line (#515)Gokul Soumya2021-07-28
| | | | | * Show pending keys and counts in status line * Refactor pending key display
* Allow multi key remappings in config file (#454)Gokul Soumya2021-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use tree like structure to store keymaps * Allow multi key keymaps in config file * Allow multi key keymaps in insert mode * Make keymap state self contained * Add keymap! macro for ergonomic declaration * Add descriptions for editor commands * Allow keymap! to take multiple keys * Restore infobox display * Fix keymap merging and add infobox titles * Fix and add tests for keymaps * Clean up comments and apply suggestions * Allow trailing commas in keymap! * Remove mode suffixes from keymaps * Preserve order of keys when showing infobox * Make command descriptions smaller * Strip infobox title prefix from items * Strip infobox title prefix from items
* Added change_case command (#441)Cor Peters2021-07-16
| | | | | | | | | | | | | | | | | * Added change_case command * Added switch_to_uppercase and switch_to_lowercase Renamed change_case to switch_case. * Updated the Keymap section of the Book * Use flat_map instead of map + flatten * Fix switch_to_uppercase using to_lowercase * Switched 'Alt-`' to uppercase and '`' to lowercase Co-authored-by: Cor <prive@corpeters.nl>
* Removed double entry of extend_lineCor2021-07-15
|
* Remove outdated commentBlaž Hrastnik2021-07-05
|
* Implement `X` as extend selection to line boundsBlaž Hrastnik2021-07-05
|
* 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