Giter VIP home page Giter VIP logo

nextval's Introduction

This is a mirror of http://www.vim.org/scripts/script.php?script_id=4536

During editing position your cursor on a boolean, integer, number or hex value and press + or - in normal mode (esc).

Examples:

* switch=false # +/- -> true
* switch=TRUE  # +/- -> FALSE
* int=1 # - -> 0 -1 -2
* num=4.98 # + -> 4.99 5.00
* num=.4 # + -> .5
* hex=0x19 # + -> 0x1a
* hex=ab # + -> ac
* hex=1B07 # -> 1B08
* hex=#9 # + -> a

New variants:

* test5 # int surrounded
* test123test # int surrounded
* True # boolean
* 0xf9 # hex
* 5A3 # tex
* &#x2019 # xml/xhtml
* \x19 # unix, bash
* FFh or 05A3H # intel assembly
* #9 # modulo2
* 16#5A3# # ada/vhdl
* 16r5A3 # smalltalk/algol
* 16#5A7 # postscript/bash
* \u0019 \U00000019 # bash
* #16r4a # common lisp
* &H5A3 or &5a3 # several basic
* 0h5A3 ti series
* U+20AD # unicode
* S=U+9 # integer
* $5A3 # assembly/basic
* H'ABCD' # microchip
* x"5A3" # vhdl
* 8'hFF # verilog
* #x4a # common lisp
* X'5A3' # ibm mainframe

Please provide feedback (Wiki/Mail) - especially if you vote "Unfulfilling".

nextval's People

Contributors

qwertologe avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.