From: Thorsten Kampe <thorsten@thorstenkampe.de>
To: zsh-users@zsh.org
Subject: Key bindings not working under screen
Date: Tue, 15 Feb 2011 11:55:01 +0100 [thread overview]
Message-ID: <ijdm27$upa$1@dough.gmane.org> (raw)
Hello,
I would like to ask for assistance trying to solve a problem with zsh
under screen where key bindings are not working (for instance
"bindkey '^[-' copy-prev-shell-word" in .zshrc).
This is the problem: in my .zshrc (and .bashrc) I set editor variables
to JED (if installed) or to Vim:
#
type jed &> /dev/null && DEFAULT_EDITOR=jed || DEFAULT_EDITOR=vim
export EDITOR=$DEFAULT_EDITOR \
VISUAL=$DEFAULT_EDITOR
#
On systems where JED is not installed (-> DEFAULT_EDITOR=vim) I can
observe this:
% bindkey | wc -l
147
% bindkey | grep copy-prev-shell-word
"^[-" copy-prev-shell-word
% screen
% bindkey | wc -l
131
% bindkey | grep copy-prev-shell-word
%
I've renamed my .screenrc but the issue remains. Interestingly it only
happens when I set $EDITOR *and* $VISUAL in .zshrc, only under screen
and only with zsh (not bash).
Can someone shed some light about the connection between $EDITOR,
$VISUAL, zsh and screen?
Thorsten
[zsh 4.3.11 on Cygwin (XP, 7 and 2008 R2) and on Gentoo Linux,
GNU screen 4.0.3]
next reply other threads:[~2011-02-15 10:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-15 10:55 Thorsten Kampe [this message]
2011-02-15 11:16 ` Thorsten Kampe
2011-02-15 15:49 ` Bart Schaefer
2011-02-15 18:19 ` Thorsten Kampe
2011-02-15 15:44 ` Bart Schaefer
2011-02-15 18:59 ` Thorsten Kampe
2011-02-16 3:51 ` Bart Schaefer
2011-02-16 11:41 ` Thorsten Kampe
2011-02-16 17:01 ` Bart Schaefer
2011-02-25 16:56 ` Thorsten Kampe
2011-02-26 20:09 ` Hemant Borole
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ijdm27$upa$1@dough.gmane.org' \
--to=thorsten@thorstenkampe.de \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).