Quick TipWritten on

Open curl results in vim, less, or more

It's easy to open the source of a file in a browser. But when you are on a server without a GUI, or directly want to use the power of vim directly, you can do this in the terminal:

vim -R <(curl -s "http://example.com/")

Works as well with e.g. less:

less -f <(curl -s "http://example.com/")

and the same for more:

more -f <(curl -s "http://example.com/")