Formosa Programmer Homemade Xvim Command Summary, great, all common commands at a glance, beginners can easily find their own command, here I share this map, to the island programmer Vgod Salute.Original address: http://blog.vgod.tw/Download PDF
multi-label into VIM before vim-P Open file in Multi-tab format. such as Vim-p *is to edit all the files in the current directory, VIM Editor: Tabnew Add a tag: TABC close the current Tab:tabo close all other tab:tabs view all open TAB:TABP or GT
(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
The compilation, installation and use of the VIM plugin Cscope tool1. Download: http://download.chinaunix.net/download.php?id=3536&ResourceID=19002. Compiling#./configure#makeMake has failed:[Email protected]:~/.vim/cscope-15.5# makeMake
Vi/vim Basic Use MethodThis article describes the basic use of VI (VIM), but for the average user is basically enough! I/vim the difference is simple, they are multi-mode editor, the difference is that Vim is the upgrade version of VI, it is not
One.Moving:H,j,k,l: Left, bottom, top, right.W: The first word of the next word. W: Next word (without punctuation).E: The ending of the next word. E: Punctuation is not included.B: The word head of the previous word. B: Punctuation is not included.<
Today, Adobe's brackets,sublime text and other editors were used under Linux, and it was still inappropriate to find out. So I thought of vim.First of all, I'm using the derivative version of Ubuntu: Linux Mint 17.Then start installing Vim,linux
split up and down and open a new file. : SP filename splits the currently open file around. Ctrl+W v splits around and opens a new file. : VSP filename Move cursor VI in the cursor key is H, J, K, L, to switch between each screen, only need to press
Press V to enter visual state, select multiple lines, indent or indent with > or Automatic indentation is usually used according to the language characteristics: Use = = in the command state for the current line (double-click = two times), or n== (n
article Songyang This article is from the Asura road , prohibited for commercial purposes, reproduced please indicate the source. http://blog.csdn.net/fansongy/article/details/ 43154305 /span> /p>
Why
1. Window segmentation": Split": Split the cursor window into two windows to display, continuous execution will split out multiple windows"Ctrl+w W": Jumps to the next window, loops the jump"Ctrl+w direction (or h,j,k,l)": Jumps to the next window
In order to use the pathogen plugin, I removed the. Vim folder and the. VIMRC add configuration and re-organized the next! 1, pathogen plug-in management Https://github.com/tpope/vim-pathogen run the following command mkdir-p ~/.vim/autoload
1. Start diffThere are many ways to turn on diff in Vim, and here are a few common scenarios.1.1 External directly open two files# Direct use of Vimdiff instructionsVimdiff file_1 file_2-D file_1 file_21.2 File comparison after opening a file-on
1. gedit Graphic Editing file2, vim operation of a file, if the file exists is opened, if the file does not exist, it will be created:[[email protected] ~]# vim XX3. Three modes of VIM:(1) command line mode;(2) Insert mode:(3) the last line
Resolves an issue with a "~" file that appears after saving the edited Gvim file, editing_VIMRC file, and then added "Set writebackup "Setting no backup File"To resolve a problem with the "~" file appearing in the Vim save edit file, locate the
First try to use CD ~/.vim to enter the. Vim folderIf not, create a mkdir ~/.VMThen create the colors after entering the. Vim folderInput instruction mkdir Colorsthen enter the instructions.git clone git://github.com/altercation/vim-colors-solarized.
a/i: Before entering vim, press (a/i) into input mode (a appends the character after the cursor, I insert the character before the cursor)ESC: Enter command line modeCorrecting text when inserting:Ctrl+h: Character Delete key ctrl+u: Row Delete key
Thank you: http://www.cnblogs.com/renrenqq/archive/2010/09/09/1813669.htmlHowever, there are some errors, and deficiencies, the process is now recorded as follows:Download and install Python.Download vim from the VIM website and suggest the
Vi and vim Editor (15): main improvements to vi by vim
Vim has made a lot of improvements to vi. This chapter will discuss the main functions added to vim: includes built-in help functions, startup and initialization options, new mobile commands,
Vi and vim Editor (8): Global replacement (1)
This chapter describes the global replacement commands in the vi editor. The global replacement command can be used to automatically replace all words in the file. Generally, two ex commands are used for
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