Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Weird Vi-mode behavior



2008/11/3 Matthieu Louvel de Monceaux <glory69@xxxxxxxxx>:
> Thank you for your nice piece of information.
> You want me to put those bindings in my zshrc file ?
>
> But i don't understand that :
>
> (($+terminfo[kdch1])) &&
>
> You said that it maps delete-char to the char sent by the delete key.
> Is it the role of the '&&' ?

a && b is like if a; then b; fi, but shorter, and only works if b is a
single statement (or is in {}, but then you're better off with an if
probably).

-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author