SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    AdSpeed.com Son Nguyen's Avatar
    Join Date
    Aug 2000
    Location
    Silicon Valley
    Posts
    2,241
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    vi editor, delete & next line

    Hi,

    I don't think this is PHP-specific, but since I'm coding in PHP and having this problem which is time consuming. Feel free to move to the appropriate forum (sorry). In VI (or vim), how to you delete chars so that the next line automatically jumps up one line and joins with the current line. Thanks
    - Son Nguyen
    AdSpeed.com - Ad Serving and Ad Management Made Easy

  2. #2
    SitePoint Wizard silver trophy redemption's Avatar
    Join Date
    Sep 2001
    Location
    Singapore
    Posts
    5,269
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try adding this line to ~/.vimrc.
    Code:
    " allow backspacing over everything in insert mode
    set backspace=indent,eol,start
    I've several other settings that make vi slightly easier to use if you're interested.

    EDIT: Oh yes I probably should mention that the " line is a comment


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
  •