Move word-wiseFaster left and right shortcuts in Vim in Word are:The visual display is as followsThese shortcuts can be used in conjunction with other commands to quickly select a word.Taken together, the ea commands can is read as "Appendat the end
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:
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
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
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
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
Tagbar is a taglist alternative, more suitable for C + + use than taglist, functions can be differentiated by class, support folding display by class, display results are clear and concise, strongly recommended, as follows:http://www.vim.org/scripts/
This is a plugin for quickly and efficiently commenting codeWith this plugin, you can annotate files of multiple file types in different ways and quickly. This is a powerful tool for improving efficiency and pleasure for the students who use vim to
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
1. Delete charactersX: Delete the character under the cursorDD: Delete a whole line, including line breaksJ: Delete the line break of the current line and execute anywhere in the current line2. Withdrawal and annoyance cancellationU: Undo the most
Go as a new language, development in full swing AH. However, there is not yet a mature IDE. This paper introduces the development environment of the go based on vim, which ensures the pleasure of vim while supporting the features of Go.1. Go
Vim plug-in COMMAND-T application frequency is very high, the online introduction of a lot of articles, this blog main record the installation needs attention to the details of the problem. The VIM plugin Manager uses Vundle.COMMAND-T relies on the
Believe that the code farmers have heard two great artifacts, one is Emacs, one is vim. Everyone knows that e party and V party are always arguing. In fact, this is not a good argument, but everyone has their own application of things. The author
I've always wondered how a good software like Vim doesn't have a detailed documentation.Again excellent, novice will not use is useless ah. Besides, who was born to be a veteran?Only that simple tutor?Although this tutor can be used, but as the "God
Command
Description
Memory methods
1. Move the cursor
B
Move backward to the beginning of the current/previous word
W
Move forward to the beginning of the next word
The use of Linux nature to learn a good text editor, I would recommend the use of Vim here, not that it must be better than other editors, for vim, we can find a lot of useful resources through Baidu (Google was the wall, Baidu's English search is
(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:
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