Using the VSP command:
For example: There are files under a folder:
The code is as follows:
vector.cc, substr.cc
1. Open any file using the VIM command: Vim vector.cc open the first file. As shown in the following illustration:
2. Press: "ESC" key +
The differences between ": X" and ": Wq" are as follows:(1): Wq Mandatory Write file and exit (save and exit write and quite). Force write even if the file is not modified, and update the file's modification time.(2): x write to File and exit.
The important task of a system administrator is to modify and set up configuration files for some important software, so at least you have to learn more than one command-line interface for this article editor.At the end of this article, we will look
Vim Editor VI improvedVi:visual interfaceVim +/pattern F1 After opening the file, the cursor is at the beginning of the first line that is matched to PATTERN, and the N key jumps to the next, that is, the regular match is supportedVim +n F1 Open the
Ubuntu 12.10 Install vim Error[Date: 2013-01-18] Source: Linux Community cubernet [font: Big Small]The following tips appear when you install Vim in Ubuntu 12.10:Reading Package List ... CompleteAnalyzing Dependency tree for PackageReading status
Use of Vi/vimBasically, Vi/vim is divided into three modes, namely, General mode, edit mode and command-column mode. The three modes of action are:
General mode:Open a file with VI directly into the general mode (this is the default mode).
1.1 Vim Main Mode introduction, VIM command modeUsing commands 1 vim [file name]There are three main modes: Command mode, edit mode, command line modeIn Vim, the main use of shortcut keys to operate, see:
From WeChatSince 2009, I have been working with Vim as my primary (unique) text editor. Over the years, I've learned a lot of good Vim techniques that make me feel brief encounter because they greatly improve the efficiency of my text editing. In
Before I saw many of the beginners of the QT Linux friends in using Qmake to compile the first HELLOQT or HelloWorld program times wrong , and always find the reason.A few days ago I also met the same problem, I use the book examples, the code with
Reprint please indicate link with author huihui1988For a period of time vim, like this simple and efficient editor. Coincides with the learning of QT, so vim becomes a tool to develop QT. The following are the specific configurations.First, syntax
VundleProject Hosting on GitHub Https://github.com/VundleVim/Vundle.vimIts features are the use of git to manage plug-ins, update convenience, support search, one-click Update, from then only need a VIMRC walk the world.Installation and
Garbled problem""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""vim7.1 the encoding settings under Windows. by Huadong.liu""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""Set Encoding=utf-8Set
First, the use of VI encryption:Advantages: After encryption, if you do not know the password, you can not see the plaintext, including the root user can not see;Cons: Obviously let others know encryption, it is easy for others to destroy the
First, Introduction Vundle (Vim bundle) is a vim plug-in manager. It is to integrate GIT operations, the user needs to do is to go to GitHub to find the name of the plugin they want to install, update and uninstall can have vundle to complete.
===============================Talk not much, first to see the effect===============================================================Use Vim to create Ides for C language developersRecommended use of Gvim================================# To install
Vim is a very powerful editor on a Linux platform, and he is an enhanced version of the VI editor of the early years. This gvim is a Windows version and has a standard Windows-style graphical interface, so it's called G (graphical) Vim. We can
This is my second article in the blog Park, tonight is the special day of the online, should be small requirements do not want to talk about, drink a bit of wine, feel pressure and challenge, smoked a few cigarettes, now a bit of the feeling of
This is vim crown vim brief-------------------------------------------------What is VIMVim is an almost compatible version of the UNIX editor Vi. Many new features has been added:multi-level undo, syntax highlighting, command line history, on-line
Talk Vim together (15th back: ctags of Vim plug-in), vimctags
Hello, everyone. You are welcome to join in to hear the story of Zhang huiti: Vim. The configuration in the Vim plug-in was introduced in the last time.
Set files. In this case, let's
Talk Vim together (16th back: ctags of Vim plug-in), vimctags
Hello, everyone. You are welcome to join in to hear the story of Zhang huiti: Vim. We introduced the ctags in the Vim plug-in last time.
In this case, let's continue with the plug-in. Or
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.