richsoni / vim-ecliptic Goto Github PK
View Code? Open in Web Editor NEWEcliptic.vim: Amicable Clipboard Integration
Ecliptic.vim: Amicable Clipboard Integration
Hello,
ecliptic is generally working, but if I copy something from a window that isn't my vim buffer and then try to use {visual selection}cp, nothing is replaced but the selected data is copied into the clipboard buffer.
then if i do cp again, what was selected will be pasted, not what I had originally had in my buffer.
Oddly, if I do for example a cyy and then {visual selection}cp, what was copied is pasted over the visual selection.
Thanks for the help,
Rob
this edge case needs to be handled separately
Hello and thank you for this plugin.
Not sure if it's just me, but when I try visually selecting anything and press cy
Vim doesn't copy the selected text right away (I need to press something else). This has something to do with the ambiguity of the mapping's name. When I make the following change it works as expected:
vnoremap <silent> <Plug>EclipticVY_v :call <SID>EclipticCopy(visualmode())<cr>
vnoremap <silent> <Plug>EclipticVY_V :call <SID>EclipticCopy('V')<cr> # I think it makes sense to change this to _V too
This applies to visual deletion as well.
Btw, there's an echo "here"
debug code that's lying around in your code.
Nice plugin, I'll be using it because typing "+
just isn't comfy sometimes.
I'm concerned about the c
namespace in visual mode though. I think c
is used with visual
mode quite often and after installing this plugin there's now this "lag" (which totally makes sense).
I was thinking about the alternatives to c
"namespace" to avoid this problem - so how about the feature that would enable setting a user defined key as a namespace? Leaving the default as-is is fine.
Personally, I think I would set it to +
key so I'd have +y
and +yy
etc. -
is a tempting option because it's even easier to type.
So, what do you say?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.