zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@zsh.org
Subject: Re: Announcement of Zsh Command Architect v1.0
Date: Fri, 8 Jan 2016 20:24:58 -0800	[thread overview]
Message-ID: <160108202458.ZM18087@torch.brasslantern.com> (raw)
In-Reply-To: <20160108093313.GA16910@linux.vnet.ibm.com>

On Jan 8, 10:33am, Dominik Vogt wrote:
}
}   mplayer -fs
}   # noticed that I need a long word from the history, so comment
}   # out the unfinished command line and store it in the history
}   <ctrl-a>#<return>

This really shouldn't be necessary; ESC q (or Alt-q if properly bound)
to do push-line and then at the end ...

}   # recall the unfinished command and insert the cut-buffer
}   <cursor-up><ctrl-e> <ctrl-y>
}   # remove comment and execute
}   <ctrl-a><delete><return>

ESC g space ctrl-y return, should be sufficient.

} To me it appears that cases where a complicated part of a former
} history line needs to be copied and the same cannot easily be done
} with completion is quite rare.

The one thing completion can't do well is copy around multiple words
at once.  It's quite tightly bound to the idea that it's acting on a
single word -- even inside quotes it usually wants to work on the
whitespace-separated internal bits rather than on the whole quoted
string.


  parent reply	other threads:[~2016-01-09  4:24 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-06 16:22 Sebastian Gniazdowski
2016-01-08  9:33 ` Dominik Vogt
2016-01-08  9:55   ` Sebastian Gniazdowski
2016-01-08 15:33   ` Sebastian Gniazdowski
2016-01-08 16:29   ` Mikael Magnusson
2016-01-08 17:04     ` Sebastian Gniazdowski
2016-01-09  8:21       ` Sebastian Gniazdowski
2016-01-09 23:54         ` Bart Schaefer
2016-01-10  1:15           ` Mikael Magnusson
2016-01-10  7:32             ` Sebastian Gniazdowski
2016-01-10  9:52               ` Sebastian Gniazdowski
2016-01-10 12:37                 ` Sebastian Gniazdowski
2016-01-10  6:52           ` Sebastian Gniazdowski
2016-01-10  7:20             ` Sebastian Gniazdowski
2016-01-10 19:55               ` history-words (Re: Announcement of Zsh Command Architect v1.0) Bart Schaefer
2016-01-08 23:16   ` Announcement of Zsh Command Architect v1.0 Bernd Steinhauser
2016-01-09  4:24   ` Bart Schaefer [this message]
2016-01-09 17:21 ` jrun
2016-01-10 13:55   ` Sebastian Gniazdowski

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=160108202458.ZM18087@torch.brasslantern.com \
    --to=schaefer@brasslantern.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).