How to configure VI In Debian

Source: Internet
Author: User
In Debian, the VI configuration method-the Linux Release Technology-Debian information. The following is a detailed description. After installing Debian, we found that its built-in VI has the following problems:
1) syntax highlighting is not supported
2) deletion of the Backspace key is not supported.

Originally, the VI In Debian is VIM-TINY, and the program itself does not support syntax highlighting and Backspace deletion.

You can use the following methods to solve the problem:
1) reinstall other versions of VI
Apt-get install vim-runtime ctags
2) configuration ~ /. Vimrc
Add syntax on

Common VI configuration options
Syntax on
Set number
Set showcmd
Set incsearch
Set expandtab
Set showcmd
Set history = 400
Set autoread
Set ffs = unix, mac, dos
Set ignorecase
Set hlsearch
Set shiftwidth = 2
Set wrap
Set ai
Set si
Set cindent
Set termencoding = unix
Set tabstop = 2
Set nocompatible
Set showmatch
Set fileencodings = UTF-8, gb2312
Set ttyfast
Set imcmdline
Set previewwindow
Set showfulltag
Related Article

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.