tenxsoydev / karen-yank.nvim Goto Github PK
View Code? Open in Web Editor NEWNeovim Lua plugin to improve register handling with delete, cut and yank mappings.
License: MIT License
Neovim Lua plugin to improve register handling with delete, cut and yank mappings.
License: MIT License
refactor
After changing the structure of my configuration and package management, the plugin sometimes does not work properly. Due to time constraints I could not fully trace the exact cause and therefore have no clear steps to reproduce.
But it seems to help to delay the plugins autocmd by a few ms.
This could be implemented as a workaround for now.
preserve_seleciton
should be preserve_selection
...
is this expected behavior? it does not happen when pasting with yp
which i assume does the same but yanks the text
problem: "selected-text"
becomes ""pasted-text
expectation: "selected-text"
becomes "pasted-text"
Currently, when yanking duplicates other entries are still moved up in the registers.
I thought it was a regression that I introduced myself with a commit. But in fact, it's not even possible to use a simple static mapping to achieve the yank + delete functionality.
This is also the case when the plugin is disabled or uninstalled.
I suspect it is related to another plugin I am using, but I have yet to find the reason and context that is hindering this functionality.
At least in my config this is the case.
edit: even when this doesn't state the exact reason for the issue: updating my system, clearing shada and packer syncing solved it. But I've found there are more issues with number regs and some delete actions that I should improve on occasion.
A deletion like "aD
currently does not work as intended.
Should be easy to solve with a similar expr
used for yanks. As yanking into register "ay
works.
Black-hole-deletions e.g. with x or dd performed directly after a yank-deletion (when no other movements have taken place in the meantime), interfere with the correct content to be inserted with the next p.
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.