Fix #2190: Document goto command in commands.md (#2218)

This commit is contained in:
Ryan Westlund 2021-09-24 21:40:11 +00:00 committed by GitHub
parent 9270f17378
commit c2d7b62e8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,6 +29,10 @@ quotes here but these are not necessary when entering the command in micro.
* `quit`: quits micro.
* `goto 'line'`: jumps to the given line number. A negative number can be
passed to jump inward from the end of the file; for example, -5 jumps
to the 5th-last line in the file.
* `replace 'search' 'value' 'flags'?`: This will replace `search` with `value`.
The `flags` are optional. Possible flags are:
* `-a`: Replace all occurrences at once