zsh/Functions/Zle/narrow-to-region-invisible
2008-07-11 19:12:22 +00:00

6 lines
211 B
Plaintext

# 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