summaryrefslogtreecommitdiff
path: root/helix-term/src/keymap.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-04-07 08:03:29 +0000
committerBlaž Hrastnik2021-04-07 08:03:29 +0000
commit12961d657f9ca78f54156457ed27732e60992734 (patch)
treeb9fdb174eba60585306c3cad3138a5dbb7505190 /helix-term/src/keymap.rs
parent31e6bcbeb4dcf52eef81a21caede8c8b32fa5858 (diff)
Implement P as paste_before.
Diffstat (limited to 'helix-term/src/keymap.rs')
-rw-r--r--helix-term/src/keymap.rs3
1 files changed, 2 insertions, 1 deletions
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,