suplemon
suplemon copied to clipboard
[Feature] Scroll without moving cursors
I congratulate you for devising this tool that can replace nano without following style of VIM editors. In addition to selecting with keyboard: arrow keys, how to select multiple lines while we scroll down / up? But something I do not know how to do with nano as I select several lines to copy or do something when it requires scrolling down or up?
Thank you! Unfortunately there isn't any way to scroll without moving the cursors. I should probably add that, it should be easy to do.
You might still be able to achieve what you want if places where you want the cursors to be have the same word, or character. Basically using the find next feature, you can place cursors at each occurrence of what you are finding. The shortcut for that is ctrl+d. It may or may not be what you need.
Regarding scrolling without moving cursors, I think maybe we could use ctrl+shift+up and ctrl+shift+up to scroll up and down without touching the cursors.
Sublime Text has these default key bindings for scrolling. I think suplemon could have a similar scroll_lines command.
{ "keys": ["ctrl+up"], "command": "scroll_lines", "args": {"amount": 1.0 } },
{ "keys": ["ctrl+down"], "command": "scroll_lines", "args": {"amount": -1.0 } },