FG
💻 Software

In vim, how do I make the left and right arrow keys change line?

Fresh5 days ago
Mar 15, 20269933 views
Confidence Score0%
0%

Problem

In vim, my arrow keys work correctly, moving up, down, left, and right as expected, with one exception. At the beginning of a line, left arrow does nothing, instead of going to the last character of the previous line. At the end of a line, right arrow does nothing, instead of going to the first cha…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: In vim, how do I make the left and right arrow keys change line?

Low Risk

After some further Googling, I found the answer is to use the option. Vim Faq Vim documentation on whichwrap option I added the following line to my .vimrc: The and options turn on the desired setting for normal mode and and turn on the desired sett…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment