https://linux.die.net/man/8/gpm
But even if you do that, in basically all other existing Linux console editors, from Vim to Nano to Joe to Pico or whatever, your mouse doesn't work because they don't understand mice.
Tilde does.
But... on the console, with no X11? Really? I'm sure Vim didn't last time I tried. Not that it has much UI to operate with a mouse.
Emacs has a similar setting.