]> git.lizzy.rs Git - micro.git/blobdiff - runtime/help/commands.md
Fix #2190: Document goto command in commands.md (#2218)
[micro.git] / runtime / help / commands.md
index 771f06a2c218b336a2cbdcc1d2e3e2aa23557aef..c0ef8dbf730c05b0337593215dd68704b42c8d9f 100644 (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