mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01:00
5 lines
211 B
Text
5 lines
211 B
Text
# 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
|