News for hackers. Stuff that matters.
Re:Five lines I put in a blank .vimrc by scooble on Sunday December 13, 2020 @06:00PM (#25411313)
If your vim is compiled with the correct flag for GUI operations (I forget which), you can yank/delete text into the * or + registers to make it available to the system clipboards. This won't bring the line numbers, and lets you avoid using the mouse.
Re:Five lines I put in a blank .vimrc by alpaca128 on Sunday December 13, 2020 @06:17PM (#25411473)
I think it's just called +clipboard. And with the setting "set clipboard=unnamedplus" Vim will use the system clipboard for yank, delete and paste by default.
Re:Five lines I put in a blank .vimrc by SoSoRoCoCo on Sunday December 13, 2020 @07:00PM (#25411786)
I use vim in a terminal, the way the gods intended, not gvim. ;-P

But apparently according to peer comments, there are ways to yank into clipboards, which is pretty cool.

Re:Five lines I put in a blank .vimrc by Lio on Monday December 14, 2020 @04:12AM (#25414934)
Not only that but if you set your mouse up correctly then you can use the mouse for selections and have it respect window splits too.

That works in tmux too. So you can have use the terminal but have it behave as a GUI app in most respects. For example being able to use a touchpad to quicly enlarge/resize splits or scroll a window can be quite useful.

Re:Five lines I put in a blank .vimrc by scooble on Monday December 14, 2020 @02:44PM (#25422234)
This works with standard vim in a terminal as well. I too follow the old gods.