Re: [Vimprobable-users] view the HTML source with an external editor?
Vimprobable is a lean web browser optimised for full keyboard control
Brought to you by:
hanness
From: Matthew C. <je...@gm...> - 2014-05-02 18:27:42
|
Hi all, Attached is a patch to do what Marcos described, it also lets you edit the source and upon saving and quitting your editor, it updates the page's source code to match what you changed. Uses the same logic and URI handler as the special textarea editor handling. It does not include the surrounding <html> tags or the doctype as that makes it difficult to refresh the browser with what was edited (so essentially you're getting a view of the document.documentElement.innerHTML, which you can then change/look through in your editor of choice). Thanks, -Matt On Sun, Apr 20, 2014 at 03:35:10PM +0200, Marcos Cruz wrote: > Hi all, > > Sometimes, when I need to examinate the source of a page, I prefer to do > it with all the power of Vim instead of the internal viewer. So I get > the page with wget or the Elinks browser and then launch Vim. > > I think currently there's no way to choose an external editor as source > viewer. Am I right? If so, I suggest this feature. Would it be > feasible? Do other Vimprobable users would find it useful? > > -- > Marcos Cruz > http://programandala.net > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > _______________________________________________ > Vimprobable-users mailing list > Vim...@li... > https://lists.sourceforge.net/lists/listinfo/vimprobable-users -- Matthew Carter je...@gm... |