"Linux" Ubuntu vi up and down change ABCD and apt-get Install error problem solving method

Source: Internet
Author: User
New ubuntu12.04, I am absolutely novice, when using the VI Editor to edit the text is really difficult to use, so found a few solutions are as follows: 1. Install vim full version

Since Ubuntu is pre-installed with the tiny version, it can cause inconvenience to our use. So we're going to install the full version of Vim.

First, remove the previous version of VI and enter the following command: sudo apt-get remove Vim-common

Then install the full version of VIM, enter the command: sudo apt-get install vim

After the installation of the VI is not so difficult to use.

This method is my own use, very effective, but is the Internet.

2. Edit/etc/vim/vimrc.tiny

Since the owner of the/etc/vim/vimrc.tiny is the root user, the file must be modified under root privileges. Very simple, this file inside the penultimate sentence is "set compatible", the "compatible" to "nocompatible" non-compatible mode can solve the problem of the direction of the ABCD.

The next problem to solve the backspace key is also very simple, after that sentence added a sentence: set backspace=2

This method has not been tried, from the network.

Resources:

http://blog.csdn.net/sidely/article/details/40339543

"Linux" Ubuntu vi up and down change ABCD and apt-get Install error problem solving method

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.