vim cheatsheet

Discover vim cheatsheet, include the articles, news, trends, analysis and practical advice about vim cheatsheet on alibabacloud.com

Sinsing with you. Vim for the second verse move cursor with vim command

first of all, it is worth mentioning that my Vim tutorial PDF version has been finished, you can download, here is csdn: csdn download , if the left side of the hanging off, you can also enter below the browser to download the following address: http://download.csdn.net/detail/xinguimeng/7714213, of course, if you are a loyal user of Baidu network disk, Can also rely on Baidu network disk, I also synchronized to Baidu Network disk, as follows: Baidu n

Enable Vim to display spaces and multi-line comments with the Tab character Vim

1. You cannot see the tab key in the tab key file. To display it: set list now displays the tab key as ^ I, while $ is at the end of each line, so that you can find the spaces that may be ignored. One disadvantage of this is that it looks ugly when there are many tabs. If you use a color terminal or GUI mode, VIM can highlight spaces and tabs. Use the 'listchars' option: Set listchars = tab:>-, trail:-now, the tab is displayed as ">-", and the extra b

[Craftsman Avenue] Some Vim commands that are not common but very powerful (constantly updating), vim constantly updating

[Craftsman Avenue] Some Vim commands that are not common but very powerful (constantly updating), vim constantly updating Common vim commands such as moving and editing are not described in detail. Here, we will mainly record some uncommon but very powerful commands, so that you can instantly feel the spirit of the commands. 1.: Tlist 1) this command is used

Download Vim and vim

Download Vim and vim From song4 Vim helps you complete text editing in a almost natural language. You just need to get familiar with a few simple syntaxes, and then you will sit on the rotating seat and turn around, and feel the wonderful life is back. Okay, let's get started. Vim helps you complete text editing in a a

Xin Xing is playing with you to learn about the operation text in vim section 4. Xin Xing vim

Xin Xing is playing with you to learn about the operation text in vim section 4. Xin Xing vim It is worth mentioning that the pdf version of my vim tutorial has been completed. You can download it. Here is the download of csdn: csdn. If the download fails on the left, you can also enter the following address in the browser to download: http://download.csdn.net/de

Download vim and vim

Download vim and vimVim Vim-related knowledge is accumulated and is continuously updated.Common Key Mode n1,n2s/word1/word2/gSearch for word1 between line n1 and line n2 and replace it with word2. 1,$s/word1/word2/gSearch for word1 from the first row to the last row and replace it with word2. N[Enter]Move n rows down 0: Move to the last character of the row $: Move to the first character of the row G

Summary of Vim quick operations in Linux and vim quick operations

Summary of Vim quick operations in Linux and vim quick operationsHow to move the cursorH. move the cursor to the left by using the left arrow key.J or the down arrow (←) move the cursor down a characterK or the up arrow (←) move the cursor up a characterL or right arrow (→) move the cursor one character to the right[Ctrl] + [f] the screen moves one Page Down, which is equivalent to a [Page Down] button (com

Use the Python and vim plug-ins to allow Vim to support multi-Folder comparison,

Use the Python and vim plug-ins to allow Vim to support multi-Folder comparison, On Vim's official website, there is a plug-in DirDiff that supports 2 folder comparisons. Link: http://www.vim.org/scripts/script.php? Script_id = 102. However, only two folders are supported. I aligned the research and improved IT TO MAKE IT support comparison of files in Multiple folders. The basic principle of the DirDiff pl

Vim introduces the various functions of VIM in general mode

I. Introduction of VIMVim is an upgraded version of VI (Vim config file in/ETC/VIMRC)Vim is a color-displayYum Install-y vim-enhancedGeneral mode, edit mode, command modeSecond, Vim color display and move the cursorVim View/etc/passwd filevim/etc/passwdpasswd File Contents:Three, the general mode of moving the cursorCu

Install and configure the vim plug-in ctags and the vim plug-in ctags

Install and configure the vim plug-in ctags and the vim plug-in ctags Recently I used the ctags plug-in. I found that many of the information on the Internet is not clear enough. I have been exploring Multiple blogs. Today, I have finally configured it successfully and recorded it here for future reference.Plugin introduction: Ctags is a plug-in vim. It enables u

Copy the content from Vim to the clipboard and copy it to VIM.

Copy the vim content to the clipboard and copy it to vimluo Weifeng 2011-7-16 About Vim clipboardArticleThe lecture is in place. Http://hi.baidu.com/abobo1986/blog/item/6c0c766e7dd9bedc81cb4a9a.html Here, I will provide the operation process to help new users. 1. ESC enters command mode 2. V enters the block operation mode. 3. move the cursor and selectCodeBlock 4. input the "+ Y" character. Your co

Vim simultaneously punched in multiple files, and vim punched in multiple files

Vim simultaneously punched in multiple files, and vim punched in multiple files Open multiple files:1. When vim is not started:EnterVim file1 file2... filen can open all the files you want to open2. vim has been started.Input: Open fileYou can open another file, and the file content is displayed in vim.Multiple files

[VIM] set VIM syntax highlighting and auto indent

1. Location of configuration files under Directory/etc/vim, there is a file named VIMRC, which is a public vim configuration file in the system and is valid for all users. In each user's home directory, you can create a private configuration file, named: ". VIMRC". For example, under the/root directory, a. vimrc file is usually already present.2. Set syntax highlighting1) Open VIMRC and add the following st

Vim Learning Note (1)--vim operation

Only some of the VIM operations that you use most often are recorded. Keep up to dateText manipulation D cut. Double-click to cut a row Y copy, double-click to copy a row P Paste x Delete the character below the current cursor R replaces the current cursor character. Replace the character in the back : s/old/new/g global replace old to new Move 0 move to the beginning $ move to end W moves to the begi

Differences between VI and VIM

From; http://blog.csdn.net/carolzhang8406/article/details/6117593 From Wikipedia http://zh.wikipedia.org/wiki/Vim. Vim is a text editor developed from VI. Code Completion, compilation, error jump, and other convenient programming functions are particularly rich and widely used by programmers. It is used in parallel with Emacs to become your favorite editor for Unix-like systems. The first version of

Automatically add comments in vim to add text information and vim comments

Automatically add comments in vim to add text information and vim commentsTo do well, you must first sharpen your tools. In the development process, a convenient and quick development environment can improve work efficiency. A beautiful interface can make us feel happy. The most important thing is that, we can keep ourselves in a difficult and unpredictable place ~ If you want to automatically generate comm

Vim learning notes, vim

Vim learning notes, vim1. Double-click the letter d and delete the row where the cursor is located.2. vim + filename open the file and locate the cursor at the beginning of the last lineVim + n filename cursor positioned on line nVim +/xxx filename: locate the first line of string xxx3. vim aa bb cc creates or opens three files at a time: n: N move to the next (t

Vim Advanced Skills-use Vim to compare two files

Original article: http://hi.baidu.com/flost_li/blog/item/acbccd2355952d47935807d0.html Usage: 1: Use vim-D file1 file2 to directly open two files for comparisonOr: Use Vim file1 to open the first file, and then use vert diffsplit file2 to open the second file for comparison;(VERT indicates the Vertical Split Window, which is a horizontal split window by default)2: directly compare the differences between t

Vim editor operations and Vim editor operations

Vim editor operations and Vim editor operations 1. vi Operation Mode Vi provides two operation modes: insert mode and command mode ). In input mode, you can enter text. In command mode, you can perform various editing actions, such as deletion and modification. In input mode, Press Esc to switch to command mode. In command mode, press the input command (I, a, o, etc.) to enter the input mode. 2. Access vi

Basic Linux vim operations and basic Linux vim operations

Basic Linux vim operations and basic Linux vim operations 1. display the number of rows Input : Set number or: set nu 2. move the cursor H. move the cursor to the left. J move the cursor downward K move the cursor up L move the cursor to the right N 0 or move the home Key to the beginning of the line $ Or end key move to the end of the row W moves to the header of the next word B Move to the first of the

Total Pages: 15 1 .... 10 11 12 13 14 15 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.