about summary refs log tree commit diff stats
path: root/LICENSE
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2021-01-22 20:22:43 +0100
committertoonn <toonn@toonn.io>2021-01-22 20:22:43 +0100
commit785102b5b0da2828ade2e7752d151144ab7524f5 (patch)
treed1a6ecdac2e7713f633db706e90655bb19b6cc23 /LICENSE
parent8339dd9b344d0ba39028746403a67fb0202a9672 (diff)
downloadranger-785102b5b0da2828ade2e7752d151144ab7524f5.tar.gz
doc: New -s flag for console
Document the new console flag. `-s` allows specifying a sentinel string.
This sentinel is removed from the body of the command and the cursor is
set to its position when opening the console.

Sentinel replacement happens after macro expansion and there's no
characters which cannot occur in a path. It is therefore impossible to
use a sentinel which is 100% "macro safe."

Example, running `console -s <cursor> shell <cursor> %s` will open the
console with the contents `:shell | %s`, where `|` symbolizes the
cursor.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions