From 12961d657f9ca78f54156457ed27732e60992734 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Wed, 7 Apr 2021 17:03:29 +0900 Subject: Implement P as paste_before. --- helix-term/src/keymap.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'helix-term/src/keymap.rs') diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs index eeecd08e..06b190aa 100644 --- a/helix-term/src/keymap.rs +++ b/helix-term/src/keymap.rs @@ -207,8 +207,9 @@ pub fn default() -> Keymaps { key!('y') => commands::yank, // yank_all - key!('p') => commands::paste, + key!('p') => commands::paste_after, // paste_all + shift!('P') => commands::paste_before, key!('>') => commands::indent, key!('<') => commands::unindent, -- cgit v1.2.3-70-g09d2