nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 992533b91ea30b8e3254d6de8caa0fe2af1158e2
parent f3e8991206624edc9fafc5e742c23f1bb1c70fca
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Thu, 28 Jul 2016 09:09:51 +0200

moving: don't do an automatic smart home with Ctrl+Up and Ctrl+Down

It is nicer to have a predictable cursor position and not see it hop
left and right on differently indented lines.

Diffstat:
Msrc/move.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/move.c b/src/move.c @@ -230,7 +230,6 @@ void do_prev_block(void) openfile->current_x = 0; edit_redraw(was_current); - do_home(); } /* Move to the next block of text in the file. */ @@ -249,7 +248,6 @@ void do_next_block(void) openfile->current_x = 0; edit_redraw(was_current); - do_home(); } /* Move to the previous word in the file. If allow_punct is TRUE, treat