Vim configuration and easy-to-use methods.Install vim and tags using the source link address: http://blog.csdn.net/shaohuazuo/article/details/46745209 blogVIMRC configuration file can refer to the following address:
The first is a simple understanding of the three states (which are generally accepted as patterns), namely: Insert, view, and general.After entering vim, the default is the general mode, when the direct use of ' a ', ' I ', ' o ' (that is, enter the
As a plugin that was voted "life changing" by the vast majority of users on http://www.vim.org/, it really changed our lives. A brief introduction to what is Lookupfile: a vim plugin that not only makes it extremely efficient to find files, but
1. Insert command1) A adds text after the cursor2) A add text at the end of A line3) I insert text before the cursor4) I start inserting text at the bank5) o Insert text at the next line of the cursor6) O Insert a line of text above the cursor2.
JsbeaufityReference: Https://github.com/maksimr/vim-jsbeautify1) According to the author's instructions is mainly to install js-beautify with bundles and then use the relevant function key mapping on it;2) The main problem is that when running on
first, the visual modeThere are three ways to enter the visual mode: V,v,ctrl+v(1) Press V to enable the visual mode, you can select the content by a single character,The move cursor can be selected.such as:(2) Press V to enable the visual mode,
Use of the editor:ESC Command modeA insert mode (rear insert)I insert mode (front insert)o Open a new line below the current line and enter insert modeO open a new line above the current line and enter insert mode: Edit modeV Visual modeCommand mode:
1. EditingNYW, copy n words to the rightNyl, copy n characters to the right, including the current character of the cursorNYH, copy n characters to the left, excluding the cursor's current characterNYJ, copy the n rows down, including the forwardNYK,
工欲善其事 its prerequisite, developed in Linux, is highly recommended with VIM.If you change to use VIM, so that it is used with the IDE generally handy, the following isLearn from the online the Great God's recommendation, after the integration of the
When installing vim via source code, the terminal libary is missing.After installing ncurses, this problem still occurs.After finding the data, the following command can be used to install vim properly.env
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
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
The main use is Golang's vim plug-in vim-go,Installation method:(1) To configure their own gopath and goroot;(2) Set up SRC, pkg, main, bin four directories under the Gopath directory;(3) Install the plugin manager pathogen,(a) on pathogen's
CW deletes the text from the cursor position to the end of the current word and switches to insert mode.
DW deletes the text from the cursor position to the end of the current word and moves to the first letter of the next word.
: Help [XXX] querying the assistance document: e! Discard all changes and reload the document: Set ruler Displays the current cursor positionCTRL] In: |xxx| in the help [XXX] Interface Press this command to jump to this command in detailCtrl-t Back
Originally used vim color scheme: Molokai is very good, but in the Mac system Terminal, once in the visual mode selected text, the highlighted part is too blurred, so want to modify its color scheme. First in the color scheme search selected and
Vim:gvim using CTRL + V to make a vertical selection by Tsungvim on October 27, 2005, but Gvim will encounter the problem of using "Ctrl + V" To change to a sticker. After that. To pass the high point, Gvim is in Windows again maping those quick
Vim column block Operation1. There are three ways to enter the visual mode: v, V, CTRL + V (1) Enable the visual mode by v. You can select the content by a single character and move the cursor to select. For example:(2) Press V to enable visual mode.
Ubuntu1204 vim Chinese garbled solution, ubuntu1204vim
Add Chinese character encoding
Sudo vi/var/lib/locales/supported. d/local # Add the following Chinese Character Set zh_cn.gbkzh_cn.gb2312 GB2312zh_CN.GB18030 GB18030 # Save and exit
The installation of vim has the terminal libary error. Solution: vimlibary
When vim is installed through source code, the system prompts that terminal libary is missing.
This problem still occurs after ncurses is installed.
After finding the
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.