Vim adds or removes multiple lines of comment

I. Adding multiple lines of comments 1. Vim's command mode (ESC enters command mode): 2. Press CTRL + V to enter visual mode (visual BLOCK); Note: The VIM command mode v enters the visual mode, CTRL + V. Enters the visual block, simple to

Linux:vim Simple Start

Now the Linux system is generally installed by default vim editor, if there is no VIM editor installed, there will be a VI editor, the VI editor produced more time than the mouse to come earlier, although the function is very powerful, but I

Bash command/file Management-vim operation

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

Simple VIM Configuration

My working environment is centos6.5. Now is the Linux rookie stage. So I will be very careful to tell you how my vim is configured.Let's start by showing the results:650) this.width=650; "src="

Configuration of Linux Vim

First contact This a little strange, but there is a hint of surprise! For a novice to the configuration of vim really do not know, so from the Internet to find information to browse the blog has some gains, so I think to share to everyone, I feel

Vim Configuration--taglist

Next, configure TagList.First download here:http://www.vim.org/scripts/script.php?script_id=273I downloaded the latest version, 4.6After downloading, unzip to ~/.vimThen open it in your own working directory or create a new vim(Mine is test.c)Then

Ubuntu Vim Youcompleteme Installation

0. Necessary tool installationsudo apt-get install build-essential cmake  1. Installing Vundlemkdir ~/.vim/bundlegit clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle2. Edit. VIMRCSetNocompatible"Be improved, requiredFileType

Vim Editor Common commands

Common commands1, vi Basic concept of basically VI can be divided into three states, namely the command mode insert mode (the last line mode), the bottom row (last command mode) 1) control the movement of the screen cursor, character, Delete the

Vim Editor General operations

Watch video tutorial: Brother even Linux cloud computing Video tutorial 5.1 text editor Vim-5.2Insert commandA: Insert the word specifier in the cursor position;A: Insert at the end of the line where the cursor is located;I: Insert the word match

Quick Print log of vim script

"Zsl_log.vim"version:1.0If exists ("G:zsl_loaded_log") | | CP | | V:version FinishendifLet G:zsl_loaded_log = 1The underlying functionfunction Addlog ()Let Zslinde = max ([Indent (".")], indent (Line (".") +1)])Let log = ' android.util.log.e '

Vim Advanced Learning and related configuration & plug-ins are readily recorded and ready for consolidation

First, learn the VIM native shortcut keys and related commands before adding plugins. (When used to record, temporarily will be chaotic, irregular sorting)Ps:ctrl+s means stop output to terminal; The ctrl+q resumes to the terminal output stream.

Vim shortcut Notes "original"

VimZR all ExpandedZM All mergerVim shortcut keysSHIFT + I (' I ') for editingSHIFT + 4 (' $ ') jumps to the end of the lineShift + V (' V ') select rowSHIFT + 0 (') ') jumps to the beginning of the lineCtrl + V module Edit FirstThen s, or SHIFT + $,

VIM Powerful replication link

Reference: http://blog.csdn.net/xiyuan1999/article/details/5680102It is necessary to copy and paste entire lines (multiple lines) in the VI editor.1. Copy1) Single-line copyIn command mode, move the cursor to the line that will be copied, and press "

VIM's tag system

Tag identifiers are stored in files generated by Ctags and other programs.: Tag and command jumps to the point where the cursor is located (if the cursor is no longer on the symbol, the first symbol on the right)Also g+ left mouse button and ,g+

Vim Gtags Plugin

01.Gtags func: View definitions at02.gtags-r func: View references at03.gtags-s text: View tags not defined by the database04.copen: Open quick fix display window05.cclose: Close the Quick fix display window06.cn: Next item07.CP: Previous08.cl: List

Vim shortcut key Finishing "Turn"

Turn from: http://blog.csdn.net/ceven2010/article/details/7406341 One, move the cursor1, left shift H, right shift L, Move down J, move up K2. Page Down CTRL + F, PAGE up Ctrl + B3. Turn down half a page Ctrl + D, turn up half a page Ctrl + U4, move

Advanced operations and text replacement commands under VIM

Some basic and advanced operations on Vim can be found in the links below.Http://coolshell.cn/articles/5426.htmlWhen using Vim to edit text, it involves bulk substitution of text content: s/vivian/sky/replaces the current line the first Vivian is

Vim Color Scheme

Molokai Color Scheme for VimI prefer Molokai ' s dark grey background. Installation with pathogen CD ~/.vim/bundle && \git clone https://github.com/tomasr/molokai.git Now Molokai is installed. Add the following to your VIMRC.

Automatically add copyright and author information to the beginning of the program in VIM

When writing a program, it is often necessary to start writing a brief introduction to the program and the author's information, as follows:This kind of information, in addition to the file name and modification time may often change, other basic

Vim Editor Add plugin Nerdtree

0x01First download the plugin in http://www.vim.org/scripts/script.php?script_id=1658 (may need to ladder, also can be in https://github.com/scrooloose/nerdtree. Download)0x02Installation is simple simply unzip the zip package to move the required

Total Pages: 210 1 .... 203 204 205 206 207 .... 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.