[PATCH 3/3] bindings: let ^L put the cursor line at center, then top, then bottom
Benno Schulenberg <[email protected]>
| Newsgroups | gmane.editors.nano.devel |
|---|---|
| Message-ID | <[email protected]> |
--- src/global.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/global.c b/src/global.c index 3e23547b..ebcb88ef 100644 --- a/src/global.c +++ b/src/global.c @@ -1435,7 +1435,7 @@ void shortcut_init(void) add_to_sclist(MEXECUTE, "^J", 0, do_full_justify, 0); #endif #ifndef NANO_TINY - add_to_sclist(MMAIN, "^L", 0, do_center, 0); + add_to_sclist(MMAIN, "^L", 0, do_cycle, 0); #endif add_to_sclist(MMOST|MBROWSER|MHELP|MYESNO, "^L", 0, full_refresh, 0); -- 2.45.1