Very straightforward question. I have seen some answers on other websites about how to do it using terminal.app on Mac but I haven't seen any Ubuntu or Linux specific instructions.
Before anyone says, yes I know ctrl+right, yes I know GUIs are for dumb people like me, yes I know that it's a blasphemous thing to want to use a mouse input in the a terminal etc etc etc. /s
But if someone has a useful answer, please let me know.
If it's terminal emulator specific that is also fine. I've been using Hyper.js for most of my work but it's performance is slow and I'm looking to change to something else.
I'm also willing to install shell plugins etc if necessary(if that would even be possible to change this behavior. I don't know if it would). I am currently using zsh as my shell.
Also I enabled soft wrapping for nano by default, but using the nano -m
flag does not seem to be working for me though maybe I'm missing something. I think this may be a limitation of Hyper.js though, so I'll try to do some testing elsewhere.
EDIT: Thank you for the link but gpm does not appear to be what I'm looking for. I'm looking for something that allows me to place my cursor in a different location, not something that allows me to select sections of text with the cursor. I can already do that.
You can place the cursor at a given a location using
tput cup
:See: Posix command that moves cursor to specific position in terminal window on Unix & Linux.