oni icon indicating copy to clipboard operation
oni copied to clipboard

Line copy/pasting does not work like vim

Open lparry opened this issue 8 years ago • 4 comments

Oni Version: 0.3.4 Operating System: Mac OS 10.13.4

Describe your issue

Either line highlight, yank, or paste seems broken

Expected behaviour

V + y + p should result in the current line being duplicated below the current line, as it does in vi/vim/neovim/etc

Actual behaviour

V + y + p results in the current line being copied and inserted again on the same line, 1 character into the line

Steps to reproduce

V + y + p

lparry avatar Jun 01 '18 05:06 lparry

Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.

oni-bot avatar Jun 01 '18 05:06 oni-bot

Hi! There is an active issue on the subject here: https://github.com/onivim/oni/issues/2267 It is not completely verified yet, but I think that setting "editor.clipboard.enabled": false, solves that with the cost of loosing in insert-mode.

Do you mind checking and reporting back? Also, did you set clipboard in your Vim config?

TalAmuyal avatar Jun 01 '18 05:06 TalAmuyal

I have the same issue. I have set the clipboard option to unnamed.

setting "editor.clipboard.enabled": false, fixed it for me 👍

Galbar avatar Jun 04 '18 07:06 Galbar

Should be fixed now in master :)

TalAmuyal avatar Jun 14 '18 11:06 TalAmuyal