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 6982057
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:14:17+00:00 2026-05-27T18:14:17+00:00

I recently found VIM and started using it. I found the arrows and backspace

  • 0

I recently found VIM and started using it. I found the arrows and backspace to be flawed.
so I did this to the backspace

set backspace+=indent,eol,start

how can this be done to the arrow key to allow normal navigation?

  • 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-27T18:14:17+00:00Added an answer on May 27, 2026 at 6:14 pm

    You don’t say exactly what aspect of the arrow keys you think is “flawed”, so I’ll just have to guess.

    You can use the whichwrap setting to get part of what you probably want. From :help whichwrap:

    'whichwrap' 'ww'    string  (Vim default: "b,s", Vi default: "")
                global
                {not in Vi}
        Allow specified keys that move the cursor left/right to move to the
        previous/next line when the cursor is on the first/last character in
        the line.  Concatenate characters to allow this for these keys:
            char   key    mode  ~
             b    <BS>   Normal and Visual
             s    <Space>    Normal and Visual
             h    "h"    Normal and Visual (not recommended)
             l    "l"    Normal and Visual (not recommended)
             <    <Left>     Normal and Visual
             >    <Right>    Normal and Visual
             ~    "~"    Normal
             [    <Left>     Insert and Replace
             ]    <Right>    Insert and Replace
        For example: >
            :set ww=<,>,[,]
        allows wrap only when cursor keys are used.
        When the movement keys are used in combination with a delete or change
        operator, the <EOL> also counts for a character.  This makes "3h"
        different from "3dh" when the cursor crosses the end of a line.  This
        is also true for "x" and "X", because they do the same as "dl" and
        "dh".  If you use this, you may also want to use the mapping
        ":map <BS> X" to make backspace delete the character in front of the
        cursor.
        When 'l' is included and it is used after an operator at the end of a
        line then it will not move to the next line.  This makes "dl", "cl",
        "yl" etc. work normally.
        NOTE: This option is set to the Vi default value when 'compatible' is
        set and to the Vim default value when 'compatible' is reset.
    

    In your case, you probably want:

    :set whichwrap+=<,>
    

    This will make left and right wrap around line endings.

    You can also try mapping <Up> and <Down> to gk and gj in normal and visual modes if the distinction between logical and display lines is confusing you. Alternatively, you could :set nowrap to remove the distinction altogether.

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

Sidebar

Related Questions

I recently found that there is a command in Vim called compiler. You can
Recently I found out that I'm using tabs incorrectly in Vim . I've been
I recently found an interesting issue. When using SetEnvironmentVariable, I can use Process Explorer
I recently found an article online that told me about this: RewriteRule ^mock-up/([^/]+)/([^/]+) /mock-up/index.php?page=$1&section=$2
I recently found out about C# extension methods and wrote this one: /// <summary>
I recently found out that you can fake directory structure on S3 by putting
So recently I have been trying to set up a Vim-based iOS workflow. I
I recently found a problem, which can add to technology of calender A user
I've started using Vim some time ago. So far - I enjoyed my experience
I recently found that we can use ?? operator to check nulls. Please check

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.