Overview:Want to install Ctags, can not be installed. See the foreigner has a log, is in the VI 7.2 version of the operation. Even VI version of the reason, so want to upgrade, online upgrade method write less, and some write too no language, only
Advanced some of the editor, will contain the macro function, Vim is certainly not missing, the use of macros in Vim is very convenient: : QX starts recording macro and registers the result in register X Q Exit Record mode @x playing macro commands
Text editor VimVIM: (visual interface improved), is a full-screen plain text asscii Editor, is the enhanced version of VI, compared to VI, VIM support syntax highlighting features.Vim is a modal editor, common patterns are edit mode (command mode),
I accidentally saw notepad ++ on the Internet. After playing, it's okay. Others by the wayProgram/Text Editor: ultraedit/sourceinsight/Vim/Emacs/VI. Pretty good!
Source insight: http://baike.baidu.com/view/1539152.html? WTP = TT
VIM:
This article sets Vim only for Ubuntu and Fedora systems. I have not tried other Linux versions. Please forgive me! Thank you.
In ubuntu, the vim configuration file is stored in the/etc/Vim directory. The configuration file name is vimrc.
In
When editing with vim, you often needCodeFor example, indent, delete, and copy. For example, if you use the YY command, you need to calculate the number of rows, which is inconvenient. If you can mark the position, the code of a large segment can be
Vim file1 file2 file3
: Next next file: previous file
: ARGs display file list
: Last last file, first file
: 2next skip two files
Return to the previous file, CTRL + ^
Copy the multi-Stop content to different buffers. Specify the
As we all know, Vim'sCodeIt is maintained by Bram using patches, a typical centralized management, although edyfoxThe https://vim.svn.sourceforge.net/svnroot/vim maintains the SVN version, but it only imports CVSThe problem is that when you want to
Beautiful perl formatCodeIt is not only pleasing to the eye, but also easy to read.
Perltidy is a small project of SourceForge. After we finish writing the messy code, he can organize the code like magic. Come and try it !!!
Perltidy home:
Vim multi-file and multi-screen operations
1Open multiple files in the same windowVI file1 file2 file3: n switch to the next file (n = NEXT): n switch to the previous file
2Open multiple files in different windowsIf you have already opened a file,
Vimm (vimsual) is a full-screen editor used in Linux/Unix OS.
Vimm is divided into two states: command status and edit status. In command status, the entered character system performs command processing. For example, Q indicates that the system
Move the cursor by sentence
()
.? ! The end of the sentence, followed by a space, is called the sentence code, which is more practical than paragraph movement.
Move the cursor by segmentIs to move to the next blank line ''can return {}
Fuzzyfinder plugin provides an interface to quickly search for files, buffer, bookmarks, commands, and tags.
You can preview the search results in real time and support fuzzy search of wildcard.
※Download
Http://www.vim.org/scripts/script.php?
Search for characters
Command F is used to search forward within the row. For example, FX searches for the forward letter X. The command F searches backward (backward. For example, FX searches backward for the letter X. Similar to F and F, they are
Original article: Workshop
This tutorial describes some basic tips for using Vim in different working modes: insert mode, command mode, and file access. The goal is to help new users who have just been familiar with vim use this excellent editor
In the past, it was always necessary to exit Vim to update cs1_database ~~ Find this article on the Internet ~~
When using csflood in VIM to edit code, you may encounter an annoying problem. When you modify and modify some filesAh, I suddenly found
In ubuntu, the vim configuration file is stored in the/etc/Vim directory. The configuration file name is vimrc.
In fedora, the vim configuration file is stored in the/etc directory. The configuration file name is vimrc.
1. display the row numberAdd
Vim-move cursor
H, J, K, L → left, bottom, top, right. → flip down. → page up.% → Move the cursor to the matched {}.W → start of the next word.W → same as W.E → end of a word.E → same as E.B → the first word.B → same as B.0 → the beginning of the
As a loyal user of VIM, I learned from help more than two years ago: Edit.
++ ENC = xxx, I have never learned about Vim encoding settings. Over the years, I have encountered encoding errors, always: Edit
++ ENC = xxx. Today: I helped encoding and so
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.