t9md / atom-vim-mode-plus

vim-mode improved
https://atom.io/packages/vim-mode-plus
MIT License
1.4k stars 111 forks source link

Copy in blockwise mode has bug #415

Open ZhiruiLi opened 7 years ago

ZhiruiLi commented 7 years ago

In blockwise mode, one can press 'y' to copy the selection, however, when I trying to paste that text, only the last line of text will appear, others are lost.

t9md commented 7 years ago

Yes, it was not change for initial release. Using core:copy(cmd-c in mac) can copy block.

Technically I can fix, but not seem to easy and I've letting it postpone for a long time. Internally same issue with https://github.com/t9md/atom-vim-mode-plus/issues/149.

Sorry I'm not sure when I'll fix that at this moment.

ZhiruiLi commented 7 years ago

Well, thanks for your reply. It's not a serious problem, but it is really counter-intuitive to me, and I often copy the wrong text in blockwise mode.

t9md commented 7 years ago

I want to keep this issue open until fixed.

ZhiruiLi commented 7 years ago

Oh, that's a good news for me.

dndln commented 7 years ago

Yes, I just ran into this too. I hope it gets fixed one day!

lemontheme commented 7 years ago

Blockwise copying is one of those features that really got me to fall in love with Vim last summer (besides macros, registers, and ex-mode). Really hope to see it ported over to your fantastic plugin! :)

Drakulix commented 7 years ago

I have also hit this yesterday, a fix would be nice. I know this is a bit off topic, but if core:copy handles this correctly, is there an easy way to make vmp use the system wide clipboard buffer for everything?

sunjay commented 7 years ago

Is there any workaround until this gets fixed?

zxol commented 5 years ago

I would love to see this fix. It's really handy for copying attribute names (across many lines) from one layer of your code to another (for example, from database column names to objects).