zsh-users
 help / color / mirror / code / Atom feed
From: "A. Wik" <awik32@gmail.com>
To: zsh-users@zsh.org
Subject: Some zsh questions
Date: Tue, 1 Dec 2020 19:09:21 +0000	[thread overview]
Message-ID: <CALPW7mQ_jTR4cOXRzngH2G+5REwcEUNnvPvmHF3U+bayvV9qag@mail.gmail.com> (raw)

Hi all,

I have this version of zsh:
zsh 5.4.2 (x86_64-ubuntu-linux-gnu)

And I have some questions:

(1) when I use ^X^V to enter vi command mode, then go to insert mode,
I can't get back to command mode using ESC, but using ^X^V again
works.  It's in the keymap:
% bindkey -M viins |grep -i cmd
"^[" vi-cmd-mode
Incidentally, for some reason ^X^V is not listed.

(2) When I'm using the bang history feature, is there a way to get the
! commands themselves, instead of their expansion, listed in the
history?

(3) Copying and pasting acts weird when I use zsh but not bash; eg:
% echo $SHELL
/bin/zsh
% 0~echo $SHELL1~ 0~/bin/zsh1~

If it's not obvious, on the last line above, I copied "echo $SHELL"
and pasted it, pushed the space bar, and copied and pasted "/bin/zsh".
However, this seems to happen only when I paste to the prompt.  Here,
below, I copy and paste the same into "cat":
% echo $SHELL
/bin/zsh
% cat
echo $SHELL
echo $SHELL
/bin/zsh
/bin/zsh
^C
%

Regards,
Albert Wik.


             reply	other threads:[~2020-12-01 19:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-01 19:09 A. Wik [this message]
2020-12-07 23:03 ` Oliver Kiddle

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=CALPW7mQ_jTR4cOXRzngH2G+5REwcEUNnvPvmHF3U+bayvV9qag@mail.gmail.com \
    --to=awik32@gmail.com \
    --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).