summaryrefslogtreecommitdiff
path: root/plugins/xB/script
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-08-14 13:22:07 +0200
committerPřemysl Eric Janouch <p@janouch.name>2022-08-14 18:52:26 +0200
commit49d9980662b123824dea607db0e764220ba5f7a5 (patch)
tree0668ffac56ac1c23487e10e138a88a1b54bc12a9 /plugins/xB/script
parent2f7fbcdc5d873252f9e3293bd073ef210bf53eb5 (diff)
downloadxK-49d9980662b123824dea607db0e764220ba5f7a5.tar.gz
xK-49d9980662b123824dea607db0e764220ba5f7a5.tar.xz
xK-49d9980662b123824dea607db0e764220ba5f7a5.zip
xC: improve backlog helper capabilities
Snippets now receive positional parameters in the form of the buffer's name in the locale encoding, and a filename if applicable (we keep passing stdin along with the filename, which happens to work out well for less(1)). The default value of the configuration option also no longer uses the "long prompt", which used to unhelpfully tell position in terms of lines, but rather sets its own prompt that counts pages, and makes sure to indicate the source buffer. The main motivation behind this change is to make the 'v' command work in less(1). LESSSECURE must be omitted from the snippet for this to work. Bump liberty to receive a config parser that allows for less convoluted escaping.
Diffstat (limited to 'plugins/xB/script')
0 files changed, 0 insertions, 0 deletions