increment/decrement number, suggested by @gumnos
This commit is contained in:
parent
b379cdd53a
commit
50439ce092
11
index.md
11
index.md
@ -34,6 +34,15 @@ Tested with [nvi](https://en.wikipedia.org/wiki/Nvi) 1.79 and 2.1.3 (unicode).
|
||||
</pre>
|
||||
|
||||
|
||||
## Increment / Decrement number in command mode
|
||||
|
||||
(1) move cursor to number<br>
|
||||
(2a) increment by one: #+<br>
|
||||
(2b) increment by N (5): 5#+<br>
|
||||
(3a) decrement by one: #-<br>
|
||||
(3b) decrement by N (9): 9#-
|
||||
|
||||
|
||||
## Add # to a block
|
||||
|
||||
<pre>
|
||||
@ -46,7 +55,7 @@ Tested with [nvi](https://en.wikipedia.org/wiki/Nvi) 1.79 and 2.1.3 (unicode).
|
||||
:'k,'ls/\ *$//
|
||||
|
||||
|
||||
## Remove the first N characters from every line
|
||||
## Remove the first N-characters from every line
|
||||
|
||||
N = 5
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user