Configuration file path:/ETC/VIM/VIMRC
SYN on; syntax highlighting
Set tabstop=4 tab width
Set shiftwidth=4, line indent width
Set backspace=2, setting backspace available
Set Incsearch Search Auto-complement
Set ai! ; Set Automatic indentation
Set nu! ; Show line Numbers
Make VI compatible with Windows Chinese
Set fencs=utf-8,ucs-bom,euc-jp,gb18030,gbk,gb2312,cp936
CTRL + N automatically search for complement functions or variable
Use vim (2): common functions and use functions of vim1. Common vim FunctionsCommon functions of vim, including block selection, copying, multi-file editing, and multi-window functions.2. vim Block SelectionBlock Selection is to copy and paste one part of the document without the entire line of processing. Press v, V,
Everyone crossing, welcome to listen to the large-scale couplet science fiction: Vim. Last time we summed up the Dragon Slayer knife: Vim'sAll kinds of knives. This time, let's not talk about Vim's skill. Let's talk about Vim's plugin today. Well, that's the word, the gossip,Words return to the positive turn. Let's talk about vim together!Crossing, Linux applications have a feature, that is, there is a conf
Vim editor configuration and use. And vim editor configuration
Vim configuration and simple usage.
Install sources for vim and tags use address: http://blog.csdn.net/shaohuazuo/article/details/46745209 blog
Vimrc configuration file can be referred to the following address: http://blog.csdn.net/shaohuazuo/article/detail
Talk Vim together (11th back: Vim separation), talkvim
Hello, everyone. You are welcome to join in to hear the story of Zhang huiti: Vim. The last time we talked about the removal of the dragon knife: Vim
Life knife method. In this case, let's continue to talk about Vim's knife method: the split knife method of Dragon
vim color, I set the background is black, the font is green, and then set the folder as magenta, the default note for the yellow light; in fact, there is a simple way, is set to the system configuration of the color scheme; reprint article is as follows:----------------
(1) After installing VIM, execute command whereis vim you will see the result:
Common Operations in the Vim editor and operations in the vim Editor
Press I to enter the editing mode
Wq! Force save and exit
Q! Do not save, force exit
! Mandatory
Direction key bit:
K
H j l
Ctrl + f move down one page
Ctrl + B move one page up
Starting with a line 0
$ End of a row
The last line of the G File
The first line of the gg File
Dd deletes the row where the cursor is located.
Yy copies the
ArticleDirectory
Phrase emphasis
Links
Images
Headers
Lists
Blockquotes
Code Spans
Preformatted code blocks
Horizontal rules
Manual line breaks
Reference
Since the markdown syntax is used to write readme
Web
How to upload file in Node. js
Create Echo Server in Node. js
Near-Realtime Analytics with MongoDB, Node. js & SmoothieCharts
Getting Started With Node. js and Visual Studio
Partitioning MongoDB Data on the Fly
Other
Making C #
Mobile
Developing iOS8 Apps Using Swift-Part 1-Hello World
The Insider's Guide to Android Interviewing
IOS8-How to use Objective-C Classes in Swift
Developing iOS8 Apps Using Swift-Part 2-Connect to the iTunes Search API
A Swift Tour
1. URL:https://html5sec.org/2, by clicking the button (you can also click Other: XSS firefox) that line button can search all button cheatsheet, to see which button is a problem; by clicking Safari Latest can see the latest problems with the Safari
Everyone crossing, welcome to listen to the large-scale couplet science fiction: Vim. Last time we introduced the VIM plug-in with theThe file is placed. This time, let's continue to talk about Vim's plugin. This time we want to say the vim plugin called: Ctags. Well, that's the same thing.Gossip Hugh, words return to the positive. Let's talk about
Solve the problem of the original URL: http://m.blog.csdn.net/blog/zuisuozhe/37600293, I do the original content to edit, please forgive the original author.
problem : I Ubuntu14.04 under the installation of VIM-GTK encountered the following problems:
$ sudo apt-get install VIM-GTK reading package list ... CompleteAnalyzing Dependency tree for PackageReading status information ... CompleteThere is no avai
Cainiao configures vim and cainiao vim
I don't know how cainiao configures vim.
If you want to make your vim and VS similar, you must use this URL.
Http://www.open-open.com/lib/view/open1429884437588.html
After Linux is started, it is inevitable to use the vim editor. At the
Extremely easy-to-use Vim configuration and Vim ConfigurationHttps://github.com/ma6174/vim-deprecatedsimple installation tips:
Open the terminal and execute the following command to automatically install it:
wget -qO- https://raw.github.com/ma6174/vim/master/setup.sh | sh -x
Or manually install: (ubuntu is used as an e
Before using vim, let's take an appetizer and learn some common commands in Vim. With these basic commands, we can use Vim more conveniently and speed up our work ~
Note: The following commands are mainly used in the normal mode of VIM.
1. Create/modify a file
When you need to edit an object, the object
Mastering the common commands of the Vim editor can greatly improve the efficiency of our text editing. Basic Operations
When we first contacted the Vim editor, we learned some of the following things:
Just enter the Vim editor, we are in Normal mode , press I on the keyboard, we enter the insertion mode . In insert mode, if you press ESC, you are back in normal
Dark Horse programmer-vim Editor, dark horse programmer-vim
I. Basic operations
1. ENTER the vim Editor: vim filename
2. move the cursor
Left shift: h
Shift right: l
Move up: k
Move down: j
3. Delete the character where the cursor is located: x
4. insert or add text:
I insert text before the cursor
A attaches text beh
Vim shortcut keys and vim common shortcut keys
1. vim ~ /. Vimrc enter the configuration file
If you do not know where the vimrc file is, you can use scriptnames to view it.
Set nu # row number
Set tabstop = 4 # A tab has four spaces.
Set ai # set automatic indent
Syntax on # Highlight
2. Basic
Move the Space key to the right
X Delete the following character X D
Linux vim commands and linux vim commands
A detailed introduction of vim commands in linux.
Some advanced editors will contain macro functions, which are certainly not missing in vim. It is very convenient to use Macros in vim:
: Qx starts to record macros and saves the resu
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.