Vim Operation notes

1. Switch to the next fileSuppose the file you want to switch to is named test.py: Ex test.py 2. In-document copy command Yy"The line where the cursor is copied. or uppercase one Y. 2yy"duplicate two lines. y^"Copy to the beginning of the line,

[Practical.vim (2012.9)]. Drew.Neil.Tip50 Study Summary

Search to NavigateThe character search commands (F{char}, T{char}, and so on) is fast and lightweight, but they has limitations. They can only search for a single character at a time, and they can only operate within the current line.Character

VIM Global Command

Global command format: [Range]global/{pattern}/{command}The global command finds {pattern} within the range of text specified by [range] (the default is the entire file), and then executes the command ' {command} ' on the matching line, using the

Vim Command (reprint)

turn fromPerlman original link: poke here 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

My VIM configuration file

Syntax on "highlight" colo torte "color set guifont=microsoft_yahei_mono:h11" font Set lines=26 columns=93 "gvim window Size" Set NU "line number switch set history=100000" Max historical set Autoindent "Auto indent set

Vim Learning Summary

1. Command CollectionMulti-window operation: SP File2Then it's the window switch.Ctrl+w--->jCtrl+w--->k!commandTemporarily leave Vim, execute command temporarily, several forms1):!commandDo not exit vim and execute shell command commands to display

Vim becomes sublime (RPM)

Sublime support is not very good under Ubuntu, especially for Chinese input, and some plugins are not available under Ubuntu.  Under Ubuntu, use Vim. Together we turn vim into sublime.It only takes three steps.First step: Install Vundle to manage

Vim of the Linux text Editor (ii)

Edit commandC: Delete commandcc: Directly delete the cursor line, the cursor jumps to the beginning and transitions to the input mode#cc: Delete the next # line in the row where the cursor is located, and the cursor jumps to the beginning of the

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 and regular expressions

Vim's search function is entered/started in normal mode, and Vim's search defaults to regular expressions. So mastering the use of regular expressions and regular expressions in Vim is extremely important for improving the VIM experience. Vim's

VIM generates consecutive numeric columns

Function Description: Inserting consecutive numeric columns in vimLike what1,2,3,4,5,...100,Command: Use the Q command to record your own action sequence and then repeat the preparation:First enter the starting number, for example enter 1 and comma,

Vim 7.4 Compilation installation

(1): Before installing the new version of Vim, you need to uninstall the old version of Vim, and then execute the following commands under Terminal: sudo apt-get remove vim sudo apt-get remove vim-runtime sudo apt-get remove gvim

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 Configuration for ubuntu12.04

The version of Vim used in ubuntu12.04 does not support configurations such as syntax highlighting and file type detection#sudo Apt-get Install VimVim's default configuration is not satisfactory and requires its own configuration.The default

Vi/vim Multi-line comments and uncomment

Memo:Multi-line Comments:1. Enter command-line mode, press CTRL + V to enter Visual block mode (Visual fast mode), then press J, or K to select multiple lines, mark the lines that need comment2. Press the uppercase letter I, and then insert the

vim-an easy-to-understand Django code completion method

Both: pydictionPydiction allows you to implement TAB code completion in Vim, including: Standard, Custom, and third-party modules and packages. Plus keywords, bifs, and strings.The pydiction consists mainly of three parts:

Vim Replacement Command

Text substitution in vim:      1.   Replace the contents of the current line:    :s/from/to/    (S is substitude)          :s/from/to/    :   replaces the first from in the current line with a to. If the current row contains more than one            

"Summary" Vim plugin NERD Tree

NERD tree is a file directory management plugin in Vim.1.Https://github.com/scrooloose/nerdtree2. Function descriptionNerdtree is one of the most commonly used plug-ins of vim, it can display the directory and file structure in vim runtime, similar

Common vi/vim commands and vivim commands

Common vi/vim commands and vivim commands Vi/vim commands are complex and powerful. Here we will introduce some commonly used commands that can meet general needs. Move the cursor: -Shift left: h-Move Down: j-Move up: k-Shift right: l-Flip: ctrl

Modify Vim configurations in Ubuntu and Ubuntu

Modify Vim configurations in Ubuntu and UbuntuIn UBUNTU, the vim configuration file is stored in the/etc/vim directory. The configuration file name is vimrc. Show row number Syntax highlighting Auto indent Show commands in text Show nearest

Total Pages: 210 1 .... 142 143 144 145 146 .... 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.