Jostree Reprint Please specify the source HTTP://WWW.CNBLOGS.COM/JOSTREE/P/4137402.HTML1. To the official website Http://www.vim.org/download.php#unix VIM-7.4.TAR.BZ2 Pack 2. Open terminal, extract from command line, enter tar jxf vim-7.4.tar.bz2
y:To substitute this matchn:To skip this matcha:To substitute the and all remaining matchesq:To quit the commandl:To substitute the match and quit (think of "last")^E:To scroll the screens up by holding the Ctrl key and pressing E^Y:To scroll the
Vi/vim is the editor that is provided by default for all Unix/linux operating systems. Due to its powerful functions and efficient operation, Vi/vim has become one of the many editing tools that unix/linux users and administrators must master and
A while ago, a lot of my colleagues have been harassed by me because I am trying to sell vim how useful. They feel that I do not seem to be selling, really is a waste of talent. Many things in the company are highly repetitive. It makes sense for me
The first step:Manually mount the Redhat to the virtual machine.Step Two: query whether to install VIM [1] (here is just the mini version installed)Step three: Hang the fileFourth step: Build a Yum sourceFifth Step: Install VimAbout public key for *.
Before I did not know why to learn the Vim and VI editor, just heard people say that this is important to Linux.First of all, why study this editor, the individual reading comprehension.The important task of a system administrator is to participate
Vim is a kind of vi-like text editor, but on the basis of VI added a lot of new features, Vim is generally respected as the best of the Class VI editor, in fact, the real enemy from the different variants of Emacs. 1999 Emacs was selected as the
The clipboard-related content in the Vim Help document is as follows:
Vim has 12 clipboard, which are 0, 1, 2,..., 9, A, ", and +. You can use the: Reg command to view the content of each clipboard. In vim, simply copy Y to the "(double quotation
Ctags Installation
Ctags can create source tree indexesProgramDevelopers can quickly locate functions, variables, macro definitions, and other locations during programming to view the prototype.The following describes how to download, install, and
Old Liao once published an article in phperArticleIt is called using Vim for PHP development environment. It details the preparations required for using Vim for PHP development, this article introduces the things that Vim needs to do for C/C ++
Vim/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 lower part is the/etc/inittab file.
2. Run the command [do not
In normal mode:
H-move cursor left, J-move cursor down, K-move cursor up, L-move cursor right
U-Undo
X-delete characters under the current cursor
DD-delete the entire row under the current cursor
.-Repeat the previous operation
Vim configuration features:
1. Press F5 to directly compile and execute C, C ++, Java code, and shell scripts. Press F8 to debug C and C ++ code.
2. the file header is automatically inserted. When a C and C ++ source file is created, the header is
The following command is used to facilitate the review of this article because it is often difficult to read books.
If you cannot find the vim command in this article, see Linux Private food page278.
Vim has three modes: general mode, edit mode,
My blog post posting process:
1. Write an original article in vim or post a classic article you have seen;
2. After writing in Vim, arrange the version, and then perform the shortcut key operations: GG, Shift + V, Shift + G,
"+ Y, explanation:" +
Vi and vim Editor (12): advanced editing method (3)
@ Function:
The naming buffer provides another method to create a macro, that is, you can save a complex command sequence to a naming buffer, and then run the content in the buffer using the @
Common Operations in the Vim Editor
Press I to enter the editing mode
Wq! Force save and exit
Q! Do not save, force exit
! Mandatory
Direction key bit:
K
H j l
Ctrl + f move down one page
Ctrl + B move one page up
Starting with a line 0
$
Common Vim/Vi operations (version 2)
Colleagues around you are either using vim or Emacs. If you use ultraedit, you are embarrassed to say hello to others. What plug-ins are there? syntax highlighting and spelling check, everything that can be
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.