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

Re: [PATCH] initialization of main keymap



Upon further thought ...
1) It's a bit odd that if both VISUAL and EDITOR are set, and VISUAL
is not set to a variant of vi, but EDITOR is, then zsh prefers to use
the bindings corresponding to EDITOR.
2) As written the patch will always give Vincent the emacs bindings
because strstr() starts at the beginning and finds "vinc17" before
ever looking beyond the rindex().

Perhaps we should prefer VISUAL any time it is set?




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