zsh-users
 help / color / mirror / code / Atom feed
From: Hadrien Lacour <hadrien.lacour@posteo.net>
To: zsh-users@zsh.org
Subject: zle kill-region without mark consider start of line as mark
Date: Wed, 15 Nov 2017 11:40:34 +0100	[thread overview]
Message-ID: <20171115104034.p7evb5raltjlg2ja@gentoo.gentoo> (raw)

Hello,

I have `bindkey -M emacs '^W' kill-region` in my zshrc and using it without
having set any mark will cut from the beginning of the line to the cursor.
I've tried to read zle's doc but found no mention of this behaviour.

Any idea about what's happening and how to do nothing if the mark isn't set?


             reply	other threads:[~2017-11-15 10:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20171115104211epcas1p297804141d5350c2100e76f849759952d@epcas1p2.samsung.com>
2017-11-15 10:40 ` Hadrien Lacour [this message]
2017-11-15 11:24   ` Peter Stephenson
2017-11-15 13:00     ` Hadrien Lacour
2017-11-15 13:13       ` Hadrien Lacour
2017-11-15 17:10         ` Mikael Magnusson
2017-11-15 18:00           ` Hadrien Lacour

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=20171115104034.p7evb5raltjlg2ja@gentoo.gentoo \
    --to=hadrien.lacour@posteo.net \
    --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).