News for hackers. Stuff that matters.
Re:Slap – A Sublime-like terminal-based text editor by gbersac on Sunday May 28, 2017 @11:55AM (#14434842)
> copying/pasting with OS clipboard support

It is supposed to be in vim, but I always forget how to use it and the few time I tried it just didn't work.

Re:Slap – A Sublime-like terminal-based text editor by e12e on Sunday May 28, 2017 @12:09PM (#14434895)
"+y / "+p

Is generally what you want (named buffer +).

http://vim.wikia.com/wiki/Accessing_the_system_clipboard

I used to keep forgetting too, and then I started using it a bit (on Windows, where selecting text and shift-insert doesn't work).

Re:Slap – A Sublime-like terminal-based text editor by dmd on Sunday May 28, 2017 @12:18PM (#14434943)
Or just make it the default:

set clipboard=unnamedplus

Re:Slap – A Sublime-like terminal-based text editor by hashhar on Sunday May 28, 2017 @05:18PM (#14436126)
Wow, in all my 5 months on Vim usage I didn't learn about this. Gonna go :help clipboard now. Thanks.
Re:Slap – A Sublime-like terminal-based text editor by dmd on Sunday May 28, 2017 @10:00PM (#14436992)
Don't feel bad... 25 years vi usage here!
Re:Slap – A Sublime-like terminal-based text editor by hk__2 on Sunday May 28, 2017 @12:18PM (#14434940)
In insert mode you can paste with cmd+V on macOS or ctrl+shift+v on other systems, just like anywhere else in the shell.