The VI editor is a modal editor and features exceptionally powerful volume and shortAnd the vim we're using now is the enhanced version of VI.VIM use Formatvim [options] [/path/to/somefile]Here's The path can also be omitted to write after writing
Vim in win encountered Chinese characters garbled long known, this thought through the following settings can solve garbled problemSet Encoding=utf-8Set Fileencoding=utf-8,chineseThis setting is able to solve the source code files in the Chinese
As the saying goes, "to do good things, you must first sharpen the tool." Good development tools can help us greatly improve development efficiency. I have been using Vim to write c ++ in Linux for some time. Here I want to share some of the vim
ArticleDirectory
Graphical cheat sheet
Graphical cheat sheet based tutorial
Notes
Learning VI or Vim is not easy. but it doesn' t have to be that difficult, either. it is, in any case, faster, more powerful, and more productive
In centos, only vim-minimal-7.x is installed by default. Therefore, whether you enter VI or Vim to view files, the syntax function cannot be enabled normally. Therefore, you need to install two other components with Yum: vim-common-7.x and
Original article address:
Http://hqlong.com/2010/01/1254.html
Vim tips: Collapse shortcuts
I used it quite well before. I don't need it for a while, and I forgot the shortcut keys. I have to read the manual again. I have to sort it out
Time: 2014.06.28 Location: Base Bytes -------------------------------------------------------------------------------------- Note: To illustrate how to call the. Command in VIM as a point command I. Brief introduction to some commands The Vim
Vim is a powerful text editor. We use VC to write on the Win32 platform
Code Often, we are used to some of the format control and code complementing functions provided by VC. These functions can be implemented in Vim, and we have already prepared
ArticleDirectory
1. Using Ctrl-x Ctrl-N to automatically complete word
2. CTRL-x Ctrl-L to automatically complete the line
3. the Ctrl-x Ctrl-F file name is automatically completed.
4. Thesaurus word completion
5. Use Ctrl-x
ArticleDirectory
Pathogen
Nerdtree
Command-T
Powerline
Common plug-ins
Vim has formed its own ecological environment because it has an open plug-in system. To improve development efficiency, developers have compiled tens of
ArticleDirectory
(1) vimrc Introduction
(2). Vim folder
Environment Configuration
"If you think Vim is just a text editor, you lose"-from Vim
Vim provides a variety of configuration functions in a simple way. The main
1. First install the plug-in Manager Pathogen
Install~/.vim/autoload/pathogen.vim
mkdir -p ~/.vim/autoload ~/.vim/bundle && curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vimCreate a. vimrc file in the centos home directory and add:
Method 1Go to the vim official website under the CVIM plug-in (http://www.vim.org/scripts/script.php? Script_id = 213). If not, go to the vim official website and enter the CVIM keyword to search.Decompress the package directly to your. Vim folder
Vim auto-completion plug-in-youcompleteme
Preface
Vim is called the editor God mostly thanks to its rich DIY flexible plug-in functions (for example, youcompleteme, the magical Code Completion plug-in under Vim ), most of the users who use Vim feel
Do you want to learn vim, the best text editor in history, as quickly as possible? You must first learn how to survive vim and then learn various tricks.
I suggest the following four steps:
Alive
Feeling good
Better, stronger, and faster
Use
1. Move commands(1 ). h j k l, direction key, and memory tips: The left and right directions are the leftmost and rightmost, and j is checked downward, so it is the downward key, the remaining k is the up key.(2). B, before, last word (first word)W,
Vi/Vim
Picture copyright: lampbrother
Note: After Entering Vim/Vi, the command mode is used by default.
1) Basic commands
AAdd text behind the cursor
IInsert text before the cursor
: WqSave changes and exit
ZZShortcut Key, save the
Anyone who has used VIM to edit Chinese documents knows that the command line mode is required after each editing.
If you forget to press SHIFT to switch the Chinese/English input, you will find that the commands after pressing ESC are all Chinese
Why is it difficult to use vim's forced writing?
A beginner in Linux usually installs a graphical interface. When a graphical interface is installed, a common user is created, and this common user is usually used to log on to the system (note: this
Today, we have been working on the vim plug-in for a long time, and finally found that online installation is the most time-consuming ~~
1. Install taglist-browse source code
The source code browser plug-in taglist can list functions, struct, and
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