Comments (4)
The easiest solution maybe to just write the current postion into * jump register right after the substitute command.
from neatvi.
I fixed it in my fork, here are the changes if it was hard to understand initially.
kyx0r/nextvi@0c7b420
from neatvi.
from neatvi.
Thank you Ali. In case you did not notice, my commit on the fork had a typo where it should of been xrows, not xcols. I have fixed it next commit. I prefer the undo-redo to stay in place if the affected area is bigger than terminal rows, but that's just what I am doing, kinda settling on a middle ground between 2 possible solutions.
from neatvi.
Related Issues (20)
- ren_placeholder to find character width is wrong HOT 13
- Help with negated char in posix regex HOT 5
- I made your regex 2X faster. HOT 6
- clang warnings HOT 2
- lbuf_pair() is bugged with utf-8 and some other pair character HOT 2
- ^y ^e keys cursor pos mismatch HOT 9
- re_groupcount() is bugged (counting nonsense brackets). HOT 14
- lbuf_replace is utterly slow HOT 8
- ex_line() should be able to escape "|" character HOT 19
- ren_placeholder() is bugged with combining characters HOT 10
- cmd_pipe() is bugged (invalid descriptor -1) HOT 2
- "cw" and last word of line HOT 2
- neatvi & less HOT 1
- Pasting into macOS terminal HOT 2
- rstr is bugged (^$ enclosed match) HOT 2
- macOS fails right now HOT 1
- cant backspace existing characters. how do i fix? HOT 1
- Poor Arabic Support. HOT 9
- automatic syntax detection via shebang HOT 7
- Hebrew diacritical marks do not render HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neatvi.