diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-10-01 07:04:53 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-10-01 07:04:53 -0700 |
commit | 2d234f9d416cab25fb7d3d334bcfe1ef7ffa461f (patch) | |
tree | dbbaadb050fb8851bfc12304046dcb61fe6143a1 /txr.vim | |
parent | ca0ca229837e344df05bfa79333b1ed4993f9719 (diff) | |
download | txr-2d234f9d416cab25fb7d3d334bcfe1ef7ffa461f.tar.gz txr-2d234f9d416cab25fb7d3d334bcfe1ef7ffa461f.tar.bz2 txr-2d234f9d416cab25fb7d3d334bcfe1ef7ffa461f.zip |
linenoise: Ctrl-A/E overloaded in multi-line mode.
* linenoise/linenoise.c (edit_move_sol): If the cursor
is already at the beginning of a line, then move it
to the start of the buffer.
(edit_move_eol): If the cursor is at the end of the
line, then move it to the end of the buffer.
This also fixes a bug: previously, if the cursor was
at the end of the line already, it moved to the end
of the following line.
* txr.1: Documented.
Diffstat (limited to 'txr.vim')
0 files changed, 0 insertions, 0 deletions