New answers tagged

1

One way to go with it is to use the vim syntax highlighting mechanisms to do that. The first thing to do is to add set filetype=cowfortune to your function: function Cow() enew set filetype=cowfortune setlocal bufhidden=wipe for line in split(system('ls -l'), '\n') call append('$', ' ' . l:line) endfor setlocal ...


Top 50 recent answers are included