Knock the database column code today, change really hard,
vim is found in the back of the command record function, ready, 1 minutes can be done.
must be recorded.
ext: http://blog.163.com/tunzao@126/blog/static/137115484201122601749849
record and
VIM Regular Expression bulk Modify text
Demand
TXT text of country area code and area, turn into plist file example used on iOS
Test.txt
+93:afghanistan
+355:albania
Amend it to
country
Afghanistan
code
+93
country
Vim + Autocomplpop + clang_complete Build the C + + IDE VIM code hints, so vim can be comparable to the IDE Vim/gvim concise VIM training strategy Autocomplpop has appeared in the completion of the full installation of words AUTOC Omplpop plug-ins,
In order to facilitate the setting of vim, write down this article record setup process and some resources, easy to consult later. (Non-tutorial)
First of all, Vim's configuration file originates from this blog, the blogger writes very well,
Source: http://www.cnblogs.com/xia520pi/p/3682348.html
Solarized is a color scheme that includes light and dark colors, which can make a clear contrast. Apply to many applications to make your application look more beautiful. Look at this color:
https://blog.csdn.net/zhzht19861011/article/details/4545260
1. Enter the character interface
2. Create a folder for storing source files
mkdir HelloWorld//Create Folder command
CD HelloWorld//Enter the new folder, this should be said that the
Http://www.cnblogs.com/ShaneZhang/archive/2013/05/23/3094236.html
Method One
CTRL + V enters column edit mode, moves the cursor down or up, marks the beginning of the line that needs to be commented on, then presses the uppercase I (SHIFT+I),
No: Drop the option before a Boolean option, such as set number, set Nonumber custom vim:: Edit ~/.VIMRC Add your own command at the end of the command line, such as highlighting search results move the cursor H J k L Delete Delete whole line DD
both: Pydiction
Pydiction allows you to implement the TAB code complement in Vim, which includes: standard, custom, and Third-party modules and packages. Plus keywords, bifs, and strings. Pydiction mainly consists of three parts:
Syntax highlighting does not require a plugin to be installed, just add a few lines to the. VIMRC configuration file:
Augroup Vimrcex
autocmd!
" Syntax highlighting for specific files
autocmd bufread,bufnewfile *.md set
use of ctags under Vim
1. Installation of Ctags
Source Installation:
Download source code./configureMakesudo make install
under Ubuntu or Debian:
sudo apt-get install ctags 2. tags file
Create tags
Ctags-r * or Ctags-r.
Configure VIMRC to
Vim three modes: Command mode, insert mode, bottom line mode. Use ESC, I,: Toggle mode.
vim [path/] Target file name : Open if it exists, new and open if it does not exist.
Basic Steps : 1. Vim hello.c 2. Type I 3. Edition 4. Type [ESC] 5. Type: Wq
Vim's working mode is first to know:In command mode, enter I a o:A insert after the character where the cursor is locatedA at the end of the line where the cursor is insertedI insert the word match either the cursorI Insert at the beginning of the
1:vim Three mode command mode insert mode command extension modeThe 2:vim registers have 26 named registers and a nameless register"TP paste" "Ayy Sticky to register aYY non-specified registers2: Open file in binary modeVim-b Binaryfile%! Xxd into
Transferred from: https://www.cnblogs.com/yangjig/p/6014198.htmlIn the command state, use = = for the current row (double-click = two times), or n== (n is natural number) for multiple lines, to automatically indent the following n rows from the
Vim Full-screen plain text editorVim Use1 Vim file namelast-line modecommand----> input a append i insert O open (line break)command----> Last line: w Save: q! do not save exit: Wq Save and exit: N moves to the first line (n refers to a number): Set
Vi:visual InterfaceVim:vi improvedFull screen editor, modal editorVim mode:Edit mode (Command mode)Input modeLast-line modeMode conversion:Edit--Input:I: In front of the character of the current cursor, switch to input mode;A: After the character of
0 indicates the beginning of a line, and $ indicates the endG moves to the end of the line, Ng moves to n rows, GG moves to the beginning[ENTER] jumps to the next line of the current cursor/word down looking for word this wordWord looks up word this
. cmd background, font, etc. configuration(1) Setting the background color44 50 59(2) Set Font size colorCourier New 20 White2.ubuntuvim configuration (ETC/VIM/VIMRC):(1) Configuration VIMRC"set to automatically load when files are
Vim/VI has always been the most popular text editor on Unix/Linux systems. Since its access to Unix in 2001, VIM/VI has always been the preferred editor for me to modify system files and write simple programs, it is an essential tool for home travel.
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