One. Cut:1. To delete from the current cursor to the next word, enter: DW2. To delete from the current cursor to the end of the current line, enter: d$3. To delete the entire row, enter: DD//can use DND to delete multiple rows n for the number of
Reference Address: Https://github.com/ma6174/vimVIM/ETC/VIMRC " Below is the Add F4 hotkey to automatically add the file header note Information Map ms:call addauthor () ' Sfunction addauthor () let n=1 while n This article from "Do not
The simplest way to move the cursor in VIM is to use the arrow keys, but the more efficient way to do this is to use shortcut keys, as shown in the table below.Shortcut keys function Description h
Open Terminal: ctrl+alt+tInto the vim file: Cd/etc/vimOpen VIMRC file: sudo gedit vimrcThen add the following to the end of the line if statement, "This symbol is a comment, the following content does not need to joinSet Nummber "Show line
Practice One:Add or remove users by accepting user-entered user names,./adminuser.sh --add User1,user2,jack,donggen means adding 4 users who are automatically entered, with the same password as the username entered--del means to delete
This article mainly introduces the common editing commands of vim:Character editing: x: Delete the character at which the cursor is located; #x: Delete the # characters at the beginning of the cursor;Replace command: R: Replaces the
VIM Code Folding Vim code folding can be set using the "foldmethod" option, such as: Set Foldmethod=indentThere are 6 ways to fold code1. Manual//manually define folding 2. Indent//With indentation for folding 3. Expr//Use an expression to define
Classic versionThe following is the most commonly seen in the classic version of the map.The corresponding Simplified Chinese versionIn fact, the classic version is a series of introductory tutorials on the combination of keys, the following is a
1, the first to install Vim, the default Ubuntu is not installed Vimsudo Install Vim sudo Install Vim2, in order to install the pathogen plugin, create a new folder, switch to. Vim, execute git initmkdir ~/. Vimmkdir ~/.vim/{autoload,bundle}cd.
CentOS system, modify the Vim profile/ETC/VIMRC add the following: 1) open VIMRC, add the following statement to make syntax highlighting: syntax on2) If the syntax is still not highlighted, then in the/etc directory Add the following statement to
You can use the: s command to replace a string in Vi/vim. The command has a number of different details of how to use the method, you can implement complex functions, record several here, convenient later query.: s/vivian/sky/replaces the current
1, the source directory under the search.Ctags-r *2, search tag and open with Vim:Vim-t 3, some of the actions under VIM:
Keyboard command
Action
CTRL]
Jump to the tag underneath the
1.centos7.0 comes with vim that supports python2.x. (: Version after see python+ support, python-is not supported) if not supported, uninstall VIM after the source code compilation installation.Yum Install
First, set the automatic completion of parenthesesInoremap ""ESC>iinoremap "" "ESC>Iinoremap (()ESC>Iinoremap [[]ESC>iinoremap {{}ESC>ICR>ESC>VOWhere curly braces {set, auto-complete and line-wrap indent, which is especially useful when writing
--vim Editor Tutorial (VIM (vi upgrade), recommended VIM)Open the file (if the file does not exist, after it is created, save, write from memory to the hard disk, do not save, delete the file)Vim filenameThe VIM editor has 3 modes: Command mode,
Vim EditorText editor, word processorAsciiNano, SEDVi:visual InterfaceVim:vi improvedFull screen editor, modal editorVim mode:Edit mode (Command mode)Input modeLast-line modeMode conversion:Edit--Input:I: In front of the character of the current
Adding Plugin ' valloric/youcompleteme ' using bundles in. VIMRC when installing with Vundle is not an unknown cause of installation failureYCM compile-time additional options --system-libclang to use the system's Clang packageMy VIM
Some time ago the company project aimed at the company to use Linux, so, the next effort on Linux.Seriously, Windows development and deployment habits, Linux is a little strange, but as a developer, Siege Lion, Linux How can you miss it? So, under a
Original StateI've watched the violinist play a very passionate chord, and I have this idea: maybe the number of brain cells I put into a text editor is almost as good as the way he plays for the instruments he likes. I also have a strange
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