Summary of problems with vim configuration in Centos
Source: Internet
Author: User
Summary of problems with vim configuration in Centos 1. backspace uses setbackspaceindent, eol, start freely. this command tells Vim when to delete the character before the cursor in Insert mode. the options are separated by commas (,) and specify Vim indentation, line disconnection, and opening...
Summary of problems with vim configuration in Centos 1. backspace is free to use set backspace = indent, eol, start. this command tells Vim when the return key can be deleted in Insert mode.
The characters before the cursor. the options are separated by commas (,) and specify Vim indentation, line disconnection, and start
Location before Insert mode. www.2cto.com 2. vimrc configuration does not work under the root user vi/etc/profile. d/vim. sh [root @ ----- ~] $ Vi/etc/profile. d/vim. sh if [-n "$ BASH_VERSION"-o-n "$ KSH_VERSION"-o-n "$ ZSH_VERSION"]; then [-x/usr/bin/id] | return ['/usr/bin/id-U'-le 100] & return # for bash and zsh, only if no alias is already set alias vi>/dev/null 2> & 1 | alias vi = vim fi comment out the third line ['/usr/bin/id-U' -le 100] & return
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