Vim is not like many editors can directly edit the text as soon as possible, you need to press I in normal mode, a and other keys will enter the insertion mode for text editing.How to enter Insert modeThe following commands will let vim switch from
Because the server is not me alone in the operation, in the modification of the Apache configuration file found a very strange problem, vim edit Open Profile discovery has a ^m tag behind itAlthough it doesn't affect the operation of the service, it
Reprinted from Http://blog.chinaunix.net/uid-22891521-id-2109310.htmlSince has been in a very old Linux version of the development, the inside of the vim is also a very old version, today in the case of the completion of the work, the upgrade of the
Enter Vi/vim VI/vim filenamethree modes of Operation:text editing mode: I,a,o into the text editor, press ESC to exit the text edit and convert to command mode. 1) I insert text at the cursor location. ·2) a The text is inserted at the next
In school, also intermittent use of git and vim, intermittent reason is that the school network to GitHub support is not very good, sometimes can not open, so, used to version management of the code is not appropriate. So, the commands for git and
Learn the basic operation of VIM by Vimtutor this brief tutorialTwo move cursor: H: Left L: Right K: Upper J: LowerThree Vim entry and exit1. Enter: Vim + filename Enter or VIM + ENTER2. Exit: 1:q Key Exit-Do not save2:q! force not to save exit3:w
It's not hard to install Vim under Linux, but this is the first software I've installed under Linux, or the way someone else's blog does it. Anyway, now this method has been learned by me, it is mine, so he should appear in my blog. And then share
Vim configuration and easy-to-use methods.Install vim and tags using the source link address: http://blog.csdn.net/shaohuazuo/article/details/46745209 blogVIMRC configuration file can refer to the following address:
first, the visual modeThere are three ways to enter the visual mode: V,v,ctrl+v(1) Press V to enable the visual mode, you can select the content by a single character,The move cursor can be selected.such as:(2) Press V to enable the visual mode,
1. Configurations in ~/.VIMRCThank the enthusiastic colleague to provide the vim configuration file, really save a lot of things ~ ~Set Shiftwidth=4set tabstop=4set nu!set mouse=aset autoindentset rulerset incsearchset smartindentset
1. View Alternative Color schemes/usr/share/vim/vim74/colors650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6F/4D/wKioL1WYnoWwkSZlAAEpERAq0jA172.jpg "title=" Qq20150705105540.png "alt=" Wkiol1wynowwkszlaaeperaq0ja172.jpg "/>2. View the
Since entering this company, every now and then by the next big God shocked, first time by his proficiency in the terminal command line, and then he was in the vim to modify the code when the quick search, replace shock.Every time to ask him for
VIM when you like it, you will find it really good, but the configuration is really troublesome,But the beginning of everything is difficult, when you are skilled, you will find her beauty.1 Syntax on2 SetNu3 Settabstop=44 SetShiftwidth=45 Colo
Command historyCommands with: and/begin with a history, you can first type: or/Then press the up and down arrows to select a history command.Start vimEnter the following command in the Command line windowVim starts vim directlyVim filename opens vim
The main use is Golang's vim plug-in vim-go,Installation method:(1) To configure their own gopath and goroot;(2) Set up SRC, pkg, main, bin four directories under the Gopath directory;(3) Install the plugin manager pathogen,(a) on pathogen's
: Help [XXX] querying the assistance document: e! Discard all changes and reload the document: Set ruler Displays the current cursor positionCTRL] In: |xxx| in the help [XXX] Interface Press this command to jump to this command in detailCtrl-t Back
The problem with the Chinese version of secure CRT color display, by default is black on white, and vim cannot be highlighted, as well as the color of the \033[settings in the shell, here are the methods:1. Installing vim-enhancedRpm-qa | grep
Vim:gvim using CTRL + V to make a vertical selection by Tsungvim on October 27, 2005, but Gvim will encounter the problem of using "Ctrl + V" To change to a sticker. After that. To pass the high point, Gvim is in Windows again maping those quick
Vim column block operation, vim Column1. There are three ways to enter the visual mode: v, V, CTRL + V (1) Enable the visual mode by v. You can select the content by a single character and move the cursor to select. For example:(2) Press V to enable
The installation of vim has the terminal libary error. Solution: vimlibary
When vim is installed through source code, the system prompts that terminal libary is missing.
This problem still occurs after ncurses is installed.
After finding the
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