From ac2ea800ce267b9ed3da5f743085f0afe8460473 Mon Sep 17 00:00:00 2001 From: AntonioLucibello Date: Mon, 2 May 2022 16:45:20 +0200 Subject: Add undo checkpoint command (#2115) * added undo checkpoint command * changed add_undo_checkpoint to commit_undo_checkpoint * mapped commit_undo_checkpoint to Alt-u * Update default.rs Co-authored-by: Blaž Hrastnik --- helix-term/src/keymap/default.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'helix-term/src/keymap') diff --git a/helix-term/src/keymap/default.rs b/helix-term/src/keymap/default.rs index db24e97a..a8ff8be9 100644 --- a/helix-term/src/keymap/default.rs +++ b/helix-term/src/keymap/default.rs @@ -326,6 +326,7 @@ pub fn default() -> HashMap { "C-w" => delete_word_backward, "A-backspace" => delete_word_backward, "A-d" => delete_word_forward, + "C-s" => commit_undo_checkpoint, "left" => move_char_left, "C-b" => move_char_left, -- cgit v1.2.3-70-g09d2