Vim Editor Common commands

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

VIM Personalization---Add comment header information to the script file

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 VIM editor cursor operation

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                    

Ubuntu configuration vim (VIMRC)

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

Linux commands: Vim Edit script Exercise

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

Vim Editor Operation ②

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 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

The most complete Vim shortcut key map in history (beginner to Advanced)

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

Configure Vim and plugins under Ubuntu

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.

Various tips for VIM

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

Vi/vim Find Replacement Use method

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

Ctags and Vim

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

Vim installs the Youcompletme plugin.

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

VIM sets parentheses auto-complete and jumps out quickly

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 Explained

--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,

Linux VIM Usage

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

Vim Command Collation

1. File command 2. Mode Switch 3. Move Command 4. Bookmark Command 5. Modify Command 6. Visualization Operation 7. Region Selection 8. Macro Command 9. Split screen 10. System Setup Command 1. File command [:] Start command requires input [Enter]

Ubuntu Vim Youcomlpeteme Configuration

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

About Vim's learning Plan, and the vim7.3 Editor's Chinese garbled solution

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

I can't imagine! The "brain" of the vim user is like this

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

Total Pages: 210 1 .... 152 153 154 155 156 .... 210 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.