How can I add non mouse-selectable line numbers to vim? [duplicate]

Use the following:

:set mouse=a

to turn on xterm style mousing in all modes. This will allow you to do what you want. Keep in mind if the vim is remote via ssh, you’ll need X11 forwarding turned on for the selection to make it to your local clipboard.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)