Code Monkey home page Code Monkey logo

Comments (6)

bitkeen avatar bitkeen commented on July 30, 2024 1

Works fine now, thanks

from vi-increment.

xPMo avatar xPMo commented on July 30, 2024

Hey, can you check out dev (in particular fb8bcc6), see if it works well for you? I'll merge it into master in a couple of days if you don't see anything wrong with it.

from vi-increment.

bitkeen avatar bitkeen commented on July 30, 2024

It works now, except for the case when the number is in the beginning of the line.

In the beginning of the line it will increment 19 to 110, and decrement 10 to 1-1 (in case cursor is on 0)

from vi-increment.

xPMo avatar xPMo commented on July 30, 2024

It's actually a problem when the number is the entire line, not just the start (matching goes sour when trying to find the first non-digit). Should work now, added a guard.

from vi-increment.

bitkeen avatar bitkeen commented on July 30, 2024

Pulled the dev branch, still have the same problem

from vi-increment.

xPMo avatar xPMo commented on July 30, 2024

Implemented the guards in the wrong order. 😐

Sorry about the churn, feel free to pull dev and test again.

from vi-increment.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.