diff options
author | Michael Davis | 2022-04-26 17:31:45 +0000 |
---|---|---|
committer | GitHub | 2022-04-26 17:31:45 +0000 |
commit | 773736b03a176159240bcef3162732d538917331 (patch) | |
tree | fe213ef146d80cb9b8e0c096c82604592d8cba04 /helix-term/src/commands | |
parent | fcd0ca3912cf53b68cec21823d25677cba7e9eea (diff) |
Fix paste direction for typed paste commands (#2288)
Diffstat (limited to 'helix-term/src/commands')
-rw-r--r-- | helix-term/src/commands/typed.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs index 9ed78d1d..3e93cfd7 100644 --- a/helix-term/src/commands/typed.rs +++ b/helix-term/src/commands/typed.rs @@ -648,7 +648,7 @@ fn paste_clipboard_before( _args: &[Cow<str>], _event: PromptEvent, ) -> anyhow::Result<()> { - paste_clipboard_impl(cx.editor, Paste::After, ClipboardType::Clipboard, 1) + paste_clipboard_impl(cx.editor, Paste::Before, ClipboardType::Clipboard, 1) } fn paste_primary_clipboard_after( @@ -664,7 +664,7 @@ fn paste_primary_clipboard_before( _args: &[Cow<str>], _event: PromptEvent, ) -> anyhow::Result<()> { - paste_clipboard_impl(cx.editor, Paste::After, ClipboardType::Selection, 1) + paste_clipboard_impl(cx.editor, Paste::Before, ClipboardType::Selection, 1) } fn replace_selections_with_clipboard_impl( |