1, vim ~/.VIMRC into the configuration file
If you don't know where the VIMRC file is, you can use: Scriptnames to view
Set Nu #行号
Set tabstop=4 #一个tab为4个空格长度
Set AI #设置自动缩进
Syntax on #高亮
2, basic
Space bar to move one grid to the right
x Delete
First, Introduction
Spf13-vim is a release version of the Vim plug-in and configuration, including a set of carefully selected Vim Plug-ins, with Vundle for plug-in management, and can be personalized through the following files
~/.vimrc.local
Introduction:
Regular expressions are often used in various programs dealing with text processing. Mastery of regular expressions is a basic skill. This paper mainly describes the principle and application of regular expressions, and gives detailed
In insert mode, to reduce repetitive keystroke input, VIM provides a number of shortcuts, and when you enter a string that has been entered in a context, you just enter the first few characters, use the shortcut key, VIM will search the context,
Go language installation and vim-go configuration
Mild obsessive-compulsive disorder ...
Recently void-001 in writing Neuoj_judge back-end evaluation machine, and I am also relatively idle recently, so I want to follow VOID-001, looking at his code,
Sometimes when you write a program file, you often need to add some header comments, such as creator, creation date, version statement or function description, if you want to add a comment every time, it will be more troublesome, so you can create a
Vimshortcut Keys1.1 Vimthe mode in1th Command mode G GG i A2nd mode of editing I o C A3rd Bottom-line mode:1.2Move Cursor1. Move the cursor to the first line of the file GG2. Move the cursor to the last line of the file G3. Move the cursor to the 100
Saltstack Quest-Install VIM, Nginx Service and configuration, custom scripts1. configuration Minion First, remove the original test minion[[email protected] bin]# salt-key -d test230the
The Neosnippet is a vim plugin for auto-complete code snippets.What is auto-complete code snippets?For example, using Neosnippet in a C + + file, enter in insert modefor It will unfold as a typical C-loop: rows such asfor (i = 0; i }Here is just a
There are a lot of tutorials in the Vim Editor, C + +, and it's better to edit Lua.Recently got a long time, finally the basic needs are ready, summed up.The main articles to look at areVim User manual Chinese versionTeach you how to convert vim
The Master boot record (master boot RECORD,MBR) is located on a hard disk with 0 cylinders, 0 disk faces, and 1 sectors, total 512 bytes. The specific divisions are: Boot code area 440 bytes, disk signature 4 bytes, white space (Ox0000) 2 bytes, MBR
You can use the: s command to replace a string in http://wzgyantai.blogbus.com/logs/28117977.html Vi/vim. The command has a number of different details of how to use the method, you can implement complex functions, record several here, convenient
1. Usually brush the question practice useThe Mswin.vim plugin provides the Edit shortcut key feature under Windows source $VIMRUNTIME/mswin.vimbehave mswinset nuset history=1000000set tabstop=4 Set Shiftwidth=4set smarttabset cindentset nobackupset
Vim encoding method settings
Reprinted: http://www.cnblogs.com/freewater/archive/2011/08/26/2154602.html
Like all popular text editors, VIM can well edit a variety of character encoding files, which of course include popular unicode encoding
Access the VI commandVI filename: open or create a file and place the cursor at the beginning of the first lineVi + N filename: open the file and place the cursor at the beginning of line NVi + filename: open the file and place the cursor at the
My main blog: half an acre of fangtang
1. Repeat the previous operation in Normal Mode.Command
2. Cancel the previous operation and use it in normal mode.uCommand
3. Delete the entire row in Normal ModeddCommand, this command does not enter the
Android programmers should say that eclipse or netbean is the most widely used. Considering that Google has launched a complete set of development plug-ins that allow users to write code from the project to compile and run the link simulator in one
Method 1:Place the cursor in Row 3,Input: 2yyPlace the cursor in Row 3,Input: PThis method is suitable for copying a small number of lines of text. Copy two rows of data under 6th rows (inclusive) and put them under 9th rows.Method 2:Input in
Although currently engaged in. net, there is still a kind of dilemma for Java. Therefore, we plan to configure a Vim development environment for Java first.
1. Install nerdtree
If you read the first few articles in this series, then you don't need
Delete, copy, and paste linux vim shortcut keys
Delete
In lowercase, x indicates that a character is deleted backward, that is, the character where the cursor is located is deleted.
Nx n indicates a number, indicating that each character is deleted
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