Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: syntax highlighting of code in perlmonks forums

by diotalevi (Canon)
on Jun 10, 2003 at 12:30 UTC ( [id://264647]=note: print w/replies, xml ) Need Help??


in reply to Re: syntax highlighting of code in perlmonks forums
in thread syntax highlighting of code in perlmonks forums

Which now brings up the question - is there a vim mode for browsing PerlMonks that knows what to do with the d/l code links?

Replies are listed 'Best First'.
Re^3: syntax highlighting of code in perlmonks forums
by f00li5h (Chaplain) on Jan 06, 2007 at 11:32 UTC

    You just have to tell your browser to open the particular content type (text/plain with gvim, or a g?vim? in a terminal emulator egxterm -e vim. Opera will all you to do all manner of silly things with content types it doesn't know internally, such as passing the uri/downloaded version/filenames to another program etc...

    I'm pretty sure the only thing you could do at PM's side to help this is by allowing the user to select the Content-Type header sent with code downloads, allowing the user to specify a header of text/x-vim, or perhaps a type perlish, so windows users get it going to their perl editor instead of their regular text editor (which most likely defaults to notepad)

    @_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://264647]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-03-19 07:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found