21. 3. 2020 · Vim 1/2 · 1 min read · [edit]
Some of you might know that pressing <C-a>/<C-x> in normal mode increases/decreases the next number on the line the cursor is currently on:
| |
But did you also know that it can handle other bases and even alphabetical characters (worked for me but might need to be configured – see this wiki article):
| |
Equipped with this knowledge, one can easily add to and subtract from any number (10<C-a>), create a list of numbers in a given base (a relatively simple macro), play around with Caesar ciphers and generally do many things that would likely not be possible in other text editors.

Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.