Page 2 of 2

Re: A text editor?

Posted: Wed Nov 01, 2017 8:48 pm
by briandc
j_e_f_f_g wrote:Geany has a "scroll document down 1 line" command. It's mapped to Alt + down arrow keys. I believe gedit also a scroll down command, but maybe invoked via a different key shortcut. You need to look through the editor's key bindings.
I tried Geany, and scrolling indeed requires "alt+up" and "alt+down". But I don't want to use key bindings. I just want the cursor to stay at the same line when I hit "return" (while the text moves up).

Using key bindings would mean hitting "return" and then using the extra command to return back up again.


brian

Re: A text editor?

Posted: Wed Nov 01, 2017 8:55 pm
by briandc
Luc wrote:Maybe you can achieve that with OpenOffice or LibreOffice if you configure the page to have a really thick bottom border.
That would be one possible solution. -But is it the only one?

Gedit doesn't do this either.


brian

Re: A text editor?

Posted: Thu Nov 02, 2017 2:58 pm
by ssj71
it seems vim has this function http://vim.wikia.com/wiki/Keep_your_cur ... the_screen :)

Such a "scroll offset" plugin could be written for gedit, or one might exist for another editor (my brief search gave me one for the sublime text editor but that is proprietary). If you want one bad enough you'll write it. :D

Re: A text editor?

Posted: Thu Nov 02, 2017 7:25 pm
by briandc
ssj71 wrote:it seems vim has this function http://vim.wikia.com/wiki/Keep_your_cur ... the_screen :)

Such a "scroll offset" plugin could be written for gedit, or one might exist for another editor (my brief search gave me one for the sublime text editor but that is proprietary). If you want one bad enough you'll write it. :D
I tried it out on Vim (both Geany and Vim are new to me). I was only able to get the cursor to start 5 lines down, but the bottom margin wasn't affected and so the result was the same as with other editors.

It might be useful to have a "generic" plugin that would work in various editors. But I don't suppose that would be easy to do.
It's surprising that it's not a "standard" option. When you think about it, when a person writes, it's nice to not have the cursor always at the bottom of the page!


brian