Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7986863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T11:58:27+00:00 2026-06-04T11:58:27+00:00

File foo has text: This| is a line. If I place the cursor at

  • 0

File foo has text:

This| is a line.

If I place the cursor at the |, hop into insert mode, and press backspace, nothing happens. If I type something, I can delete the things I’ve typed, but only back to where the insertion began. For example, if I place the cursor at the end of the line, and type word, I can delete word but can’t delete the . or anything to the left of it.

This is rather annoying. What vim setting does this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T11:58:29+00:00Added an answer on June 4, 2026 at 11:58 am

    Explanation

    The ‘backspace’ setting controls this behavior.

    From the help page:

    Influences the working of <BS>, <Del>, CTRL-W and CTRL-U in Insert
    mode.  This is a list of items, separated by commas.  Each item allows
    a way to backspace over something:
    
    value   effect
    indent  allow backspacing over autoindent
    eol     allow backspacing over line breaks (join lines)
    start   allow backspacing over the start of insert; CTRL-W and CTRL-U
                stop once at the start of insert.
    

    Changing backspace behavior

    Try adding the following to your .vimrc:

    set backspace=indent,eol,start " backspace over everything in insert mode
    

    A short-hand version of the same command:

    set backspace=2
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is one line of the input file: FOO BAR 0.40 0.20 0.40 0.50
So I'm trying to a parse a file that has text in this format:
Try this little experiment. Create a file Foo.txt with a very long line of
SO I am reading a text file which has 2 columnn foo, bar SO
My project has a file foo that I've been using and checking in with
My html file has something like <a href=foo.html> <img width=64 src=foo.svg alt=foo/> </a> and
My google foo has been coming up short on this, so I throw this
I have a text file which has the following structure: 341|18 Hello world|20090225230048AAnhStI|90|$0.30|10|289|2|2|2|Is that
It's a well-known task, simple to describe: Given a text file foo.txt, and a
To replace all the occurrences of 'foo' in a text file with some other

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.