Hot answers tagged

2

While Christian Brabandt already gave the correct answer in a comment: :echo strftime('%a %b %d %T %Z %Y') I would like to add a few words. The most important part from the help documentation: The accepted {format} depends on your system, thus this is not portable! See the manual page of the C function strftime() for the format. So the actual valid format ...


1

If you want to automate this process I would go with regular vimscript + vim api: let output = system('w3m -dump someurl.com') let output = substitute(output, 'regex', 'replace', 'g') " do smth else with output "... "... " append output to the current buffer after current line call append('.', split(output, '\n')) If you really want to ...


Only top voted, non community-wiki answers of a minimum length are eligible