File: narrow-to-region-invisible

package info (click to toggle)
zsh 5.8-6%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 23,708 kB
  • sloc: ansic: 107,536; sh: 6,871; makefile: 726; perl: 687; awk: 389; sed: 16
file content (5 lines) | stat: -rw-r--r-- 211 bytes parent folder | download | duplicates (11)
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