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

  • Home
  • SEARCH
  • 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 806991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T00:20:00+00:00 2026-05-15T00:20:00+00:00

This is an annoyance I’ve had for a long time. (Nitpicky section: I prefer

  • 0

This is an annoyance I’ve had for a long time.

(Nitpicky section: I prefer 4 space characters to tab characters. It’s a lot easier to type “tab” instead of explaining that. When I say “tab”, I mean “the action that happens when you press the tab key” which is probably more simply stated as “increase indentation”.)

I’m using smartindent while editing a document where indentation has some significance. In “dumb” windows text editors I can press Shift+Tab to remove a tab or, more appropriately, decrease the indentation level of the current line. I can’t figure out how to do this from edit mode in Vim; Shift+Tab seems to count just the same as Tab.

I know in Command mode << will decrease indentation. I want the equivalent in edit mode. These are the solutions I’ve found so far and why I don’t like them, one in particular may be the key to the answer.

  1. Use Notepad++ or some other dumb editor. I’ve done this for a couple of years but I really miss Vim.
  2. Exit edit mode, use <<, enter edit mode. This just puts the cursor at column 0; if I wanted this I wouldn’t have tried smartindent.
  3. Stop using smartindent. I don’t decrease indent as often as I need to keep the same indent level; this would be a loss of productivity.
  4. The left arrow key seems to decrease the indent by one level. I’d rather something I can do without leaving the home row. This is the most promising choice.

Maybe there’s an option I can set? Maybe I can rebind left arrow to something? (If it requires rebinding please explain in detail; I’ve never delved into reconfiguring (g)Vim.

  • 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-05-15T00:20:00+00:00Added an answer on May 15, 2026 at 12:20 am

    You can use Ctrl+D to back up one tab stop. This actually moves the whole line to the left one tab stop; Ctrl+T does the same thing to the right.

    Note that these keystrokes only work in Insert mode (use << and >> for the equivalent in Command mode).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

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.