Qutebrowser: Please add a way to "view source" in external editor

Created on 30 Jan 2018  路  4Comments  路  Source: qutebrowser/qutebrowser

An option to :view-source to open source in external editor (editor.command) would do. Or is there already a way to do this?

editor easy 2 - low

Most helpful comment

This could also be closed now - :view-source --edit works :+1:

In future I'll write more specifically "Fixes #xxxx" in the PR

All 4 comments

I thought there was already an issue for this, but maybe I was thinking of the comment in #1125. There's the qutebrowser_viewsource userscript, but that needs to re-download the page - so yeah, this would be nice to have natively I think.

In the meantime, you might want to try a binding: spawn -d xterm -e bash -c \"curl {url} | vim -\"

This could also be closed now - :view-source --edit works :+1:

In future I'll write more specifically "Fixes #xxxx" in the PR

Indeed, thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

benedikt-bartscher picture benedikt-bartscher  路  3Comments

brianbuccola picture brianbuccola  路  3Comments

The-Compiler picture The-Compiler  路  3Comments

Darren-Haynes picture Darren-Haynes  路  3Comments

orangecms picture orangecms  路  3Comments