diff options
Diffstat (limited to 'Functions/Zle/narrow-to-region-invisible')
-rw-r--r-- | Functions/Zle/narrow-to-region-invisible | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Functions/Zle/narrow-to-region-invisible b/Functions/Zle/narrow-to-region-invisible new file mode 100644 index 000000000..d70966b96 --- /dev/null +++ b/Functions/Zle/narrow-to-region-invisible @@ -0,0 +1,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 |