about summary refs log tree commit diff
path: root/Functions/Zle/narrow-to-region-invisible
blob: 312522d07f17739c909c9034618ef1633222f062 (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 -Uz narrow-to-region
narrow-to-region -p '...' -P '...' -n