1, when the VI is opened by default command mode, to enter the input mode, you need to press A or I key.Command mode:: Wq Save and exit: W only save does not eject: Q Do not save exit: q! Do not save forced exits: wq! Save and Force exit2 . FindIn
Reprinted from: http://www.cnblogs.com/itech/archive/2009/04/17/1438439.htmlVi/vim Basic Use MethodThis article describes the basic use of VI (VIM), but for the average user is basically enough! I/vim the difference is simple, they are multi-mode
The recent return to vim found that occasionally vim can not be entered, but the cursor in the case of motion, once suspected is spf13 problem, later after searching, only to find out is because vim, shortcut key Ctrl+s function is to stop the input
installation and use of Vim plugin ctags2013-11-19 20:47 17064 People read comments (0) favorite reports Classification:Development Tools (3)Linux Programming (9)C + + programming (one)Copyright NOTICE: This article for Bo Master original article,
The VI Editor is the standard editor for all UNIX and Linux systems, and its power is not inferior to any of the latest text editors, here is simply a brief introduction to its usage and a small number of instructions. Because the VIM editor is the
Ctrl + F scroll down one screenCtrl + B scrolls up one screen/text find text, press N to find the next, press N to find the previous one.? text find text, reverse lookup, press N to find the next, press N to find the previous0 (number 0) move to the
Command mode (move cursor, copy, cut D, paste p, delete x, Undo U, Redo Ctrl+r, replace R)Insert mode (write new data) A (post-word insert) I (insert before word) O (Insert new line)Last-line mode (save File W, Save as W filename, open file o, read
Objective:for the configuration of vim, I also saw a lot of methods on the Internet, touched a lot of walls, so I know the pain. So let's share some of the ways I can configure vim below. Configuring the EnvironmentFirst of all, the description of
1) First find the configuration file for vim. VIMRC, enter ls-a view, if you do not create a new2) Enter the command vim. VIMRC into this file and enter the following statement:650) this.width=650; "src="
When you start programming in Linux, Vim is not configured to be programmed with only the initial edits, which is a lot more inconvenient than programming in the Windows environment.650) this.width=650; "src="
1. configuration file. vimrcUnder directory/etc/, there is a file named VIMRC, which is a public vim configuration file in the system and is valid for all users.650) this.width=650; "title=" none. png "src="
1. Log in and go to your favorite user name to view its home directoryCommand:# su XXX$ cd XXX$ ls-a2. View and create directories and files
First look at whether you have a. vimrc file under your home directory ~/, no input instructions $
Default location for configuration files:Under directory/etc/, there is a file named VIMRC, which is a public vim configuration file in the system and is valid for all users. In each user's home directory, you can create a private configuration file
First of all, first to understand what is VIM?Vi/vim They are multi-mode editors, the difference is that Vim is the upgrade version of VI. It is not only compatible with all VI directives, but also has some new stunts inside. such as: lexical
I. Introduction to VIMMulti-mode editor, visual operation can not only run at the terminal, but also can run on X window, Mac OS, Windows.1, the basic concept of VIMBasically vim can be divided into three states (in fact, there are many models, the
My Linux system is Ubantu14.04, the default is the VI compiler, now install the VIM compilerOpen terminal input: sudo apt-get install vim-gtk generally yes, but I have an error message:Reading Package List ... Completing the dependency tree for the
1 Introduction Clevercode recently in using Vim's mouse mode. This section describes how to use the mouse in a terminal or terminal window.2 Turn on the mouse: Set Mouse=aTlist, double-click the function name. To view the contents of the function.:
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