about summary refs log tree commit diff
path: root/Functions/Zle/narrow-to-region-invisible
blob: d70966b964542e18c9f310e12f4f454f4d7bcf7a (plain) (blame)
1
2
3
4
5
# As narrow-to-region, but replaces the text outside the editable region
# with `...' if it was non-empty.  Can be used directly as a widget.

autoload -U narrow-to-region
narrow-to-region -p '...' -P '...' -n