Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
vim and html
Results 1 to 8 of 8

Thread: vim and html

Hybrid View

  1. #1
    Advisor NGene's Avatar
    Join Date
    May 2001
    Location
    Turku, Finland
    Posts
    662

    vim and html

    I recently switched from elvis to vim, and so far I like it. There's only one thing I miss.

    I edit a lot of html pages, and in elvis I could view the file in html mode. If I said :display html elvis viewed the file like a web browser does. I found this feature extremely useful when editing html pages. Can I do something similar in vim?

  2. #2
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Re: vim and html

    Not that I know of ...

  3. #3
    Mentor cga's Avatar
    Join Date
    May 2001
    Posts
    1,433

    Re: vim and html

    Couldn't you write a macro to pipe the page to Lynx (or even Mozilla)? I know this can be done with LaTeX code and xdvi or gv, for example.

  4. #4
    Advisor NGene's Avatar
    Join Date
    May 2001
    Location
    Turku, Finland
    Posts
    662

    Re: vim and html


    Couldn't you write a macro to pipe the page to Lynx (or even Mozilla)?
    It just wouldn't be the same. Well, it could be cool anyway, but I have no idea how to do it. Ok, folks, where do I start?

    (ack! don't tell me I actually need to rtfm?! )

  5. #5
    Guest

    Re: vim and html

    i'm surprised GnuVince hasn't solved this one yet... if anyone here should know how to do it, it's him

  6. #6
    Guest

    Re: vim and html

    I've been bored with LJR these past few days. Actually I've been bored period. So I don't come here as often as I used too.

    And put this in your .vimrc:

    Code:
    " HTML pour NGene
    map zh :w<CR>:!w3m %<CR>
    When you're in normal mode, you just need to type zh and w3m will launch w3m with the document.

  7. #7
    Advisor NGene's Avatar
    Join Date
    May 2001
    Location
    Turku, Finland
    Posts
    662

    Re: vim and html

    Thanks, it worked!

  8. #8
    Guest

    Re: vim and html

    No problem miss

Similar Threads

  1. Html Help!!!
    By comtux in forum Linux - General Topics
    Replies: 4
    Last Post: 04-28-2005, 12:08 AM
  2. Help with html
    By boblucci in forum Linux - Software, Applications & Programming
    Replies: 8
    Last Post: 07-12-2004, 02:04 PM
  3. How do i do html code??
    By in forum Windows - General Topics
    Replies: 1
    Last Post: 01-05-2004, 06:52 PM
  4. HTML Question
    By Schotty in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 03-14-2003, 08:08 AM
  5. need help with html
    By boblucci in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 01-29-2002, 09:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •