Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Line number in multline editing buffer?
- X-seq: zsh-users 19156
- From: Joep van Delft <joepvandelft@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Line number in multline editing buffer?
- Date: Fri, 26 Sep 2014 11:00:02 +0200
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hi there,
I did not manage to find a way to determine the current line number
in a multiline buffer (the one after a history operation, so without
the $PS2)? I often put the cursor already somewhere where where I want
to make an edit, and then realize that I'd like to use an editor
instead, and run edit-command-line. I'd fancy the cursor to end up in
the exact same location as it was in the buffer. Would there be a way
to achieve this?
Thanks!
Joep
Messages sorted by:
Reverse Date,
Date,
Thread,
Author