Everyone crossing, welcome to listen to the large-scale couplet science fiction: Vim. Last time we talked about the Dragon Slayer Knife: Vim ChaseLife. This time, we will not introduce the new VI knife. Today is mainly a summary of the previous several of the various cutting knives mentioned. Well, it's stillThe words, the gossip, the words return to the right turn. Let's talk about
Everyone crossing, welcome to listen to the large-scale couplet science fiction: Vim. Last time we introduced the cscope in the Vim plugin.Last time, we were mainly talking about the plug-in's functionality and how to install the plugin. This time, let's keep talking about the plugin, but we sayis how to use the plugin. Well, still that sentence, gossip Hugh, words return to the positive turn. Let's talk ab
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
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
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
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
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
, while the cursor goes down another line, enter "# hello!" )。(25) Save the document and exit (press the ESC key and enter ": Wq").Ii. Vim Usage Supplement1.vim Editor replacement mode and visual modeIn general mode, press R and R on the keyboard to enter replacement mode. If you press small r then you enter the replacement mode, and the next character you enter will replace the character where you currentl
Tags: vimNote content:L 5.5 into edit mode L 5.6 VIM Command mode L 5.7 Vim Practice Note Date:2017.8.45.5 into edit mode The so-called editing mode is to enter the state of the contents of the file can be edited, and into the word document into Notepad is the same, the most common way to enter the editing mode is to press I, This is the edit mode that enters the current cursor position. Here are a few w
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 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 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,
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
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
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 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
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
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
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
Recently looked at node. js, but when writing, Vim does not have a good hint of JS. Then install the plugin to handle, ready to install vim-javascript. However, when installing the plugin above GitHub, it is recommended to use Vundle and pathogen.Installing plugins, using Vundle management, is indeed a lot more convenient. The specific configuration is as follows (my operating system is Ubuntu 14.04 LTS):1.
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.