1. Empty command Line input2. Delete the most recently entered word3. paste the word at the cursor to the command line4. "Paste the contents of the Nameless register into the command line5. a Paste the contents of register a to the command line6.
Vim Tips Summary-Find1. Find commands1.1 Performing a searchIn normal mode, the lookup prompt is called, and if the VIM scan to the end of the document still does not find the target, it will prompt "search hit BOTTOM, continuing at TOP". This means
In Linux, when you open a file containing Chinese with vim, it is possible to garbledThe following VIM configuration Method Pro-Test effective1. Find your VIMRC file and it's possible that. VIMRC, some said that it is recommended not to change the
This contact should be at 37, since it is necessary to modify the service time of some serversThis part should belong to the focus, about the VI of a lot of things, seemingly out of a few books specifically about VI. There are cows who use this
in general mode, enter : "or" / To Enter the command mode. In this mode, we can search for a character or a string, and we can save, replace, exit, display line numbers, and so on. in fact, "vim" for the full keyboard operation of the editor, so in
As a developer, you should have heard of the editor of God Vim and God's editor Emacs. The details of the editor's battle are interested in children's shoes can be Google's.The biggest feature of Vim is the fast, powerful, and once mastered command,
Install VimYum Install vimConfigurationVi/etc/vimrcSet Encoding=utf-8 "Encoding settingsSyntax on "Open syntax highlightingSet tabstop=4 "Sets the width of the TAB keySet shiftwidth=4 "line interleaving between rows using 4 spacesSet autoindent
Vim Settings ColorScheme TipsTags: colorschemevim2014-03-22 13:29 23363 People read comments (0) favorite reports Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.The color theme of Vim is
· The important principle of Linux design is that information is stored in text-based filesText file: Unformatted file, function similar to win's registry (etc under Configuration file,. conf or no extension) Extensible Markup Language (XML), text
With VIM, there are two common causes of errors:(1) When you use multiple programs to edit the same file.(2) non-conventional exit.The following information is prompted:E325:attentionfound a swapfileBy the name". TEST.TXT.SWP"owned By:root dated:tue
1. Basic useQ[A-Z] START Recording macroQ Stop Recording@[a-z] Using macros@@ 调用 The most recently used macro[Email protected] [A-z] multiple replay macros2. How macros are executedSerial mode: [email PROTECTED][A-Z] macro contains instructions to
Open the Vim installation directory of the _VIMRC, with a few words in the head configuration statement can be done://Set default encodingSet Encoding=utf-8Set Fileencodings=utf-8,chinese,latin-1if has ("Win32")Set Fileencoding=chineseElseSet
1. Using vim built-in search engine VimgrepFormat:: VIM/PATERN/GJ * *Command:: Vim or: VimgrepMode: Query mode is included in//Parameters: G indicates that the keywords found on the same line are divided into multiple lines for displayJ means you
vim is not a long time to use, but it is now inseparable from the familiar vim editing mode. Vim 's learning curve is very steep, at the beginning of learning, the face of a lot of operational commands to remember, often deterred.In fact, just
Ps:f7 Compile F9 run F8 call gdb F12 Form Initial header (C + +) (both in normal mode)CTRL + A Select all plus copy (normal mode)CTRL + Z Auto Indent (normal mode)Compile option added-std=c++11-o2Set Nocompatiblesource
Pydiction can be we use the TAB key to automatically complement the Python code in Vim, is a very good plugin.Pydiction does not need to be installed, all without any dependency on package issues, pydiction mainly contains three
Test success, perfect solution.Just change this file _VIMRC in the Vim folder below.Come on, tart. It's very powerful!Set Encoding=utf-8set fileencodings=utf-8,chinese,latin-1if has ("Win32") set Fileencoding=chineseelseset Fileencoding=utf-8endif
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