New answers tagged


Version 8.2.935 introduced a flatten() function (and version 8.2.937 fixed a bug in that function). With this function you can also write let s:asciiart = flatten(["", "", systemlist("command params"), "", ""]) to insert the elements of the inner list into the outer list.


On my Mac, I had to use the following in my .vimrc nmap gx viW"ay:!open <C-R>a &<CR> Explanation: viW"ay copies to the a register <C-R>a pastes from it !open calls MacOS default open util.

Top 50 recent answers are included