Last active
April 9, 2016 14:15
-
-
Save thanhtam92/2415b2936d38ba79bcfeafeee23d0ce1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| When I tried to use arrow keys in insert mode in vi editor the following characters are being inserted in the editor: | |
| for ↓ I get B, | |
| for ↑ I get A, | |
| for ← I get D, | |
| for → I get C. | |
| ====> | |
| If you don't already have a .vimrc file in your home directory, create one using this: | |
| vim ~/.vimrc | |
| Add this line to the top of the file: | |
| $ set nocompatible | |
| $ set backspace=2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment