vim for full select functionhttp://blog.csdn.net/csh159/article/details/7533872Category: Linux2012-05-04 10:16 5851 people read reviews (4) favorite reports Vimhave been looking to see if there are quick ways to Select all , but many of the web
What's the difference between plugin, autoload, Ftplugin?Many of the first friends with VIM will have some doubts when installing plugins. The same plug-ins, some tutorials say installed in the plugin directory, some say installed in the Ftplugin
First, the basic configuration1 "set character encoding to prevent Chinese garbled and other problems2Set fileencoding=utf-83Set fileencodings=utf-8, Gb2312,gb18030,latin14Set termencoding=utf-85Set encoding=utf-86 7 "Syntax Highlighting8 Syntax on9
Meet the Dot CommandThe dot command lets us repeat the last change. It's the most powerful and versatile command in Vim.. command to repeat the last action on a text change.A first examplexcommand to delete the character under the current cursor,
Delete Around, or change InsideVim ' s text objects fall into II categories:those that interact with pairs of delimiters, such as i), I ", and it, and Those that interact with chunks of text, such as words, sentences, and paragraphs.The text object
Vim is a reinforced version of VI, it is recommended to use VIM.Vim has three different modes:Command mode (normal mode)After Vim starts, it enters command mode by default, and any mode can be returned to command mode by ESC. Command mode can be
Swap or more WordsThe following fileSuppose that we want to swaps the order of the words "dog" and "man."Suppose we are going to swap the two words of dog and man in the text, what should we do? We're trying to use the following command:%s/dog/man/g:
Search to NavigateAnother way to quickly locate somewhere in Vim is to search for word using the symbol/followed by word you want to search, as follows:It can be seen that multiple matches are displayed after the command is executed, and we can use
These days, I've been learning python,A few days ago, when I was doing my exercises, I was thinking of adding an IF clause to the Python method body.However, if the following line, all need to do indentation, so, I in the Vim editor, lost the string
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
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
The use of Vim to browse the C/s code can be generated with ctags tag file, so it is convenient to jump to the function definition of the place, this function almost all the graphical interface editor, such as Vs,source insight and so on, but Vim's
Vim batch Modify multi-file data: ar[gs] Print parameter list: Arga[dd] Add item to parameter list: Argd[elete] Delete item from parameter list: Arge[dit] Add item to parameter list and edit this item: Argdo executes a command for all items in the
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
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,
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
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
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:
Description: The contents of this article as a record of their own environment, the content is basically found from the Internet, so the original author looked not too mind. In addition, I am a Mac computer, please refer to the attention of the
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
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