"General Settings
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"Set default decoding
Set Fenc=utf-8
Set fencs=utf-8,usc-bom,euc-jp,gb18030,gbk,gb2312,cp936
"Do not use VI keyboard mode, but vim own
Set nocompatible
"Number
They are multi-mode editor, the difference is that Vim is the upgrade version of VI, it is not only compatible with all VI directives, but also some new features inside.These advantages of vim are mainly reflected in the following aspects:1.
Vim has a custom color scheme, syntax highlighting, linting and auto-fill capabilities.Vim is a very difficult-to-learn command-line editor (with a joke about vim: ask how to generate a bunch of true random numbers and a web developer to quit vim).
The Vim text editor is one of the most commonly used tools under the Linux/unix system, which makes it easy to create, modify, edit, or program files that are similar to Notepad or notepad++ under the Windows system. Therefore, mastering the use of
One, what is vimThe VI command is the most versatile full-screen plain text editor in Unix operating systems and UNIX-like operating systems. The VI editor in Linux is called Vim, which is the enhanced version of VI (VI improved), fully compatible
This application scenario:Because the default bash is not used now, it is zsh, so the error zsh: command not found: adb is due to the update. Bash_profile but ZSHRC there is no way to increase the ADB. So we need to copy from the former to the
In command mode, double-press two capital Letter Z, if the currently edited file has been modified, then VI save the file and exit, return to the shell; if the currently edited file has not been modified, VI exits directly and returns to the
Vim seems to support a limited number of colors. White black yellow cyan magenta blue grey green red, most colors can be modified with light or dark in front of them but vim turns on 256 colors After the set, support color. In fact, VIM supports not
1. Introduction:Vim is a customizable text editor built into Linux that allows users to add functionality to their needs.2. Use:The operation of Vim is divided into three modes: General mode, edit mode, and command mode.General mode:When using VI to
There are many text editors, such as Gedit, KWrite and so on in graphical mode, and the editor in text mode has VI, VIM (enhanced version of VI) and nano. VI and VIM are the most commonly used editors in Linux systems. Some people have said that
Everyone crossing, welcome to listen to the large-scale couplet science fiction: Vim. Last time we introduced the cscope in vim.Plug - ins.. This time, let's continue to talk about Vim's plugin, but we're talking about another plugin: TagList. All
Everyone crossing, welcome to listen to the large-scale couplet science fiction: Vim. Last time we introduced the ctags in the Vim plugin.This time, let's continue to talk about Vim's plugin. This time we want to say the vim plugin called: Cscope.
Generally speaking, the file is divided into two major categories of text and binary files, text file editing is easy, Windows Notepad, UltraEdit are very useful, binary file editing under Windows also has a lot of tools, UltraEdit is good, but
Step 1:CP/USR/SHARE/VIM/VIMRC ~/.VIMRCFirst copy the Vim configuration template to the personal directoryStep 2:VI ~/.VIMRCEnter insert mode, add two lines at the endSyntax onSet nu!Save the call.Finally, attach other options (from the Internet)Set
Recently looked at node. js, but when writing, Vim does not have a good hint of JS. Then install the plugin to handle, ready to install vim-javascript. However, when installing the plugin above GitHub, it is recommended to use Vundle and
Http://easwy.com/blog/archives/advanced-vim-skills-omin-complete/
Return to vim and use advanced: Directory
The help entry for the commands used in this section:
: Help ins-completion: Help compl-Omni: Help 'osmnifunc ': Help I _CTRL-X_CTRL-O:
Turn from good use soft: http://blog.sina.com.cn/s/blog_46dac66f010005kw.html
Writing Time: 2006/12/04
In last May, I started using vim. Since then, I 've gotten better off, and I'm sorry that I gave up pirated ultraedit due to copyright
Vim/Vi practical skills (version 2) and vim Practical SkillsVim/Vi Practical Skills
1. Import files
: R [file name] # import to the currently edited File
For example, r/etc/inittab
The upper part of the file is the/etc/services file, and the
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.