using vim to edit binary files is the first through the external program xxd to dump the file into the second binary text form, and then you can edit the file in the usual way, editing, and then using XXD conversion to the original form. Can be
"Introduction to Plugins" ctags tool is used to traverse the source code files generated tags files, these tags files can be used by the editor or other tools to quickly find the location of the source code symbols (Tag/symbol), such as variable
Transferred from: http://www.cnblogs.com/chenyadong/archive/2011/08/30/2159809.htmlTo facilitate the selection of text, VIM introduces Visual (visual) mode. to select a piece of text, first move the cursor to the beginning of the paragraph, press v
Occupy position, to be perfected.Vim Editor:Full-screen editor: VIMVi:visual interfaceSed: line EditorVI, VI improvedVim:Pattern:Edit mode: Command modeInput mode:Last-line mode:Edit mode--Input mode:I:insert,A:append,O:new Line,I: The beginning of
Findis the most common and powerful find command, you can use it to find any file you want to find.Find uses the following format:Find ---[[email protected]/]# find. -name ' bin* ' finds all files in the current directory that begin with
1 "The following is a partial configuration of my vim2 au FileType php call addphpfunclist ()3 functionaddphpfunclist ()4Set Dictionary-=~/.vim/php_funclist.txt dictionary+=~/.vim/Php_funclist.txt5Set Complete-=k complete+=k6 endfunction7 "That's
A long way to practice ... As a vs heavy-dependent patient, plus visual assist X this lazy necessary divine plugin, transfer to Vim under the door, really all kinds of pain ...Vim with the use of a mouse to point to the impulse, there are wood
PathogenFunction descriptionA plug-in package often has a variety of functions, each file according to the path of the vim of the directory will be placed in different directories, the general plug-in into the plugin, the syntax highlighting plug-in
1. The system only installs the Vim-minimal, and executes the following command to install the other two componentsYum Install vim-commonyuminstall vim-enhanced2. Installing CtagsYum Install CtagsDownload linux-2.6.32.27 kernel source and extract to
Vim: Full screen editor, modal editor
Vim mode: Edit mode (Command mode) input mode last line mode
Mode conversion:
Edit-Input: I is converted to input mode before the character of the current cursor. A is converted to input mode after the
Common Directives Sectionexcerpt from: http://www.runoob.com/linux/linux-vim.htmlDescription: Commonly used instructions here directly copy here, because I control the bird Brother's book and his experience, I think here has been sorted very well,
As a plugin that was voted "life changing" by the vast majority of users on http://www.vim.org/, it really changed our lives. A brief introduction to what is Lookupfile: a vim plugin that not only makes it extremely efficient to find files, but
today . describes the kernel reading configuration of vim+ctags+cscope+taglist.
When used, I believe most people will abandon the previous eclipse (I am a living example). Let's start by looking at what the implementation interface looks like:
Transferred from: http://www.cnblogs.com/fortran/archive/2010/07/25/1784513.htmlThe command of the case conversion in Vim is: Gu or Gu, the image of a little u means to lowercase, big u means to capitalize. The next step is to define the two
Plugin 8th:tpope/vim-commentaryHelp me comment A code, I tested IT support C++,vim. So it would support a lot of Lang.How to use:Use gcc to comment out a line (takes a count),GC to comment out the target of a motion (for example, GCap-comment out
The repetition of VIM techniques
Type of vim repetition
Duplicate text changes
In-line Find duplicates
Full-text lookup duplicates
Text repeat substitution
Duplicate macro Recording
The repetition of VIM techniquesWhen
Reading large code, we often need to open a lot of code files, search for various definitions. Windows used to use the IDE's friends, when moving to Linux may feel very uncomfortable, can not find the right reading tools. In fact, the almighty vim
Vim Find replacement: n1,n2s/word1/word2/g N1,n2 is a number, find N1 to N2 line, word1 Replace with Word2: 1, $s/word1/word2/g find the first line to the last row, word1 replace Word2: 1, $s/word1/word2/gc find the first line to the last row, word1
The VIM as the main editor of ACM for a long time, with the benefits of vim needless to say,Here is a summary of the Vim configuration method in ACM, the configuration is directly written into the ~/.VIMRC can be.14-line configuration for
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