mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 04:30:24 +02:00
Enable the insert-tab style in zed.
This commit is contained in:
parent
f303f2ea63
commit
714efe5ff9
2 changed files with 9 additions and 0 deletions
|
|
@ -4,6 +4,10 @@
|
|||
Doc/Zsh/compsys.yo: Separate compinit security checks into their
|
||||
own callable function.
|
||||
|
||||
* 12370: Functions/Misc/zed: Add a context for controlling
|
||||
completion within zed, and a style to enable tab insertion at the
|
||||
beginnings of lines in zed by default.
|
||||
|
||||
* 12162: Completion/Core/_expand, Completion/Core/_path_files,
|
||||
Src/utils.c: Use `eval' instead of `$(print ...)' to suppress
|
||||
some syntax error failures; this requires that zwarn() does not
|
||||
|
|
|
|||
|
|
@ -19,6 +19,11 @@ integer TMOUT=0
|
|||
|
||||
[[ -z "$1" ]] && echo 'Usage: "zed filename" or "zed -f function"' && return 1
|
||||
|
||||
local curcontext=zed:::
|
||||
|
||||
zstyle -m ":completion:zed:*" insert-tab '*' ||
|
||||
zstyle ":completion:zed:*" insert-tab yes
|
||||
|
||||
# catch interrupts
|
||||
cleanup="$(bindkey -L "^M"; bindkey -L -M emacs "^X^W"; bindkey -aL "ZZ"
|
||||
echo "trap - INT EXIT"; trap)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue