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

Re: Key bindings not working under screen



* Thorsten Kampe (Tue, 15 Feb 2011 11:55:01 +0100)
> Can someone shed some light about the connection between $EDITOR, 
> $VISUAL, zsh and screen?

I've kind of worked around the issue now by changing
#
type jed &> /dev/null && DEFAULT_EDITOR=jed || DEFAULT_EDITOR=vim
export EDITOR=$DEFAULT_EDITOR \
       VISUAL=$DEFAULT_EDITOR
#
to...
#
type jed &> /dev/null && DEFAULT_EDITOR=jed
export EDITOR=$DEFAULT_EDITOR \
       VISUAL=$DEFAULT_EDITOR
#

"vi" is the default anyway and setting it to "vim" was intended to have 
a full featured Vim as editor and not a compatibility restricted vi 
('Start Vim  in Vi mode, just like the executable was called "vi".')

Thorsten



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