From 42d07b0621f034049ba3872122144ea9e69092eb Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Fri, 19 Mar 2021 18:01:08 +0900 Subject: Implement replace command (r). --- helix-term/src/keymap.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'helix-term/src/keymap.rs') 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, -- cgit v1.2.3-70-g09d2