summaryrefslogtreecommitdiff
path: root/helix-term/src/keymap.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-03-19 09:01:08 +0000
committerBlaž Hrastnik2021-03-22 04:53:43 +0000
commit42d07b0621f034049ba3872122144ea9e69092eb (patch)
treea45fa524ee27409fa01357a0973dbbd4106fed5c /helix-term/src/keymap.rs
parentbf95ee27aa3c9f137e34f30a01f25e4930a8b1bb (diff)
Implement replace command (r<key>).
Diffstat (limited to 'helix-term/src/keymap.rs')
-rw-r--r--helix-term/src/keymap.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs
index d9fe348f..5a39b774 100644
--- a/helix-term/src/keymap.rs
+++ b/helix-term/src/keymap.rs
@@ -141,6 +141,8 @@ pub fn default() -> Keymaps {
shift!('T') => commands::till_prev_char,
shift!('F') => commands::find_prev_char,
// and matching set for select mode (extend)
+ //
+ key!('r') => commands::replace,
key!('0') => commands::move_line_start,
key!('$') => commands::move_line_end,