Collation of VIM common operations and configuration files (not to be continued, add at any time)

Just list my usual, richer and more comprehensive please do it yourself GoogleBasic command:u : Undo Step up ActionI: InsertSearch for words:/word : Starts at the cursor position, looking down to a name named word the string? Word: Starting at

Vim shortcut keys

A. Mobile:H,j,k,l: Left, bottom, top, right.W: The first word of the next word.E: The ending of the next word.B: The word head of the previous word.Two. Jump:%: Can match {}, "", (), [] jump between.H, M, L: Jumps directly to the top, middle, and

Vim's ycm (youcompleteme) plug-in configuration

The final results and documents arehttp://gist.github.com/zhuzhenpeng/5939304c8f298c82352bGCC, Clang, LLVM concepts and relationshipsCompiler sub-front and back endFront-end mainly for syntax and semantic analysis, input is the source code, output

Vim plugin shortcut keys

@1: Winmanager:#1: The shortcut key to open Winmanager is configured in. VIMRC, which defaults to ": Wmtoggle", and nmap can be used to map it to other commands.#2: Show Help If the cursor is a directory,

Vim Command Collection

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

Vim Simple Find and replace

Here is a simple introduction to the vim of the search and replace, it is well known that VIM support for regular expressions is very good, for programmers in the analysis of large amounts of data, the use of VIM this function is undoubtedly a

Using VIM to debug C syntax errors

Syntax error using VIM to debug C code: First Step: Open vim vim Second step: enter Copen after the command line mode input. Step three: then use SET mouse = A To turn the mouse on. The fourth step opens the C

Vim Learning Notes

Reference:Http://linux.chinaunix.net/techdoc/beginner/2009/12/20/1150108.shtmlVim Command DaquanCursor control commandsCommand cursor movementH move one character to the leftJ Move down one lineK Move up one lineL Move one character to the rightG

Vim Indent Settings

1. Create a. vimrc file under your home directory (///). Console input vi ~/.VIMRC carriage return.2. Enter the following text in the. vimrc file:Set tabstop=4Set softtabstop=4Set shiftwidth=4Set NoexpandtabSet NuSet AutoindentSet

Vim configuration and pre-preparation

1. Install vim gcc make clang2. Copy the following code into your. VIMRC"----------------------------------------" Vim Configuration "----------------------------------------" Set No Compatible "be improved, requiredfiletype off" required "set the

The coding problem in vim

Resolution of the coding problem: ANSI format encoding: ANSI code (AMERICAN National Standards Institute), Chinese: Standard code for the American Standards Institute.Definition: Different countries and regions have set different

Rookie Learn Vim

For a college graduate of the rookie, learning Vim will inevitably be some unprepared.The school may be exposed to some of the vi editors in Linux, but it's a little bit smaller than gvim.I think that the first thing to learn vim is to adjust their

Using regular matches in Vim Chinese

As we all know, when using JS's regular to verify Chinese, you can use: /[\u4e00-\u9fa5]+/.test (' Chinese ') However, when you use this regular in Vim, you will be prompted not to find a match E384: The Beginning (end) of the file found is still

Vim's Snipmate Plugin

IntroducedFinally found a plug-in, for vim under the code block auto-completion support is very good. Recommend Snipmate to everyone.Snipmate can help you implement similar textmate functions on vim, the ability to automate code blocks is very

Vim configuration sharing (ongoing update)

Zhanhailiang Date: 2014-10-24Set nocompatibleSet Nu ""Auto IndentSyntax onSet autoindent ""tab, shift indent characterSet TabStop=4Set Shiftwidth=4Set Expandtab ""Blank character, tab displaySet ListSet Listchars=tab: >-, Trail:- ""Ctags"" Map C-F12

Vim Common variables

For vim to better support Python to write code, modify the tab default 4 spaces There are two ways to set up:1. VIM/ETC/VIMRC1 Set ts=42 Set sw = 42. VIM/ETC/VIMRC1 Set ts=42 Set Expandtab3 Set AutoindentThe second is recommended, which results in 4

Share your new vim ColorScheme

Save the following content as Darkslategrey.vim, and put it in the ~/.vim/colors directory."Vim Color File"maintainer:jiqing ()"create:2011-04-11"Last Change:2011-04-11"Cool Help Screens": he group-name": he highlight-groups": he cterm-colors"your

Vim+pyclewn Debug C + +

(gdb) Mapkeys c-b: Break "${fname}": ${lnum} # Set breakpoint @ Current line c-d: Down c-e: Clear "${fname} ": ${lnum} # Clear breakpoint at current line c-n: Next c-p: Print ${text} # Print value of selection at MOUs E position c-u:

Vi and vim Editor (11): advanced editing method (2)

Vi and vim Editor (11): advanced editing method (2) Save command: Vi and ex provide many methods to save a long string of command sequences. In this way, you only need to enter a few characters to call the saved sequence. Abbreviation: You can

Vim-ctags-taglist-netrw

Vim-ctags-taglist-netrw Vim ConfigurationIn ~ /. Configure the following content in the vimrc file, or perform global configuration in/etc/vim/vimrc. Common configurations are as follows: syntax onset tabstop=4set nuset smartindentset cursorlineset

Total Pages: 210 1 .... 159 160 161 162 163 .... 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.