It's been a long time since I wrote Jekyll blog on Vim, and it's been a hassle to write code blocks (Fence) and then "type", and manually write header information (Front matter). Harttle today uses the VIM keyboard mapping to provide carriage return
First, vim command:1. Label command: Tabe fn Edit the file fn in a new tab pageGT Switch to next tab pageGT Switch to previous tab page: TABR Switch to First label page: tabl switch to the Last tab page: TABM [n] Moves the current tab to the Nth
Article Source: http://blog.sina.com.cn/s/blog_5e357d2d0100zmth.html
Command
Simple description
: W
Saves the edited file content, but does not exit the vim Editor. The purpose of this command is to write the
Vim command, Vim is a good editing tool, below for you to introduce the basic command of VIM.Method/Step
1"Vim command-Start vimtutor": Execute command: Vimtutor. Vimtutor is an introductory tutorial on VIM usage. You can get started in 25-30
Common pluginsThe reason that vim formed its own ecological environment, is because VIM has an open plug-in system, developers in order to improve development efficiency, for VIM to write tens of thousands of plug-ins, we can choose any choice, or
Now it is very important to say Vim,vim, but we have a lot of people to pay attention to the high technology, but when using vim to edit the file, the efficiency is not high. Vim is very important, I said below, is often used, simple things, I hope
You can use the: s command to replace a string in Vi/vim. Previously only used a format to replace the full text, today found that the command has many kinds of writing (vi is really powerful ah, there is a lot to learn), record several here,
Vim Three modes: General mode , edit Mode , Command mode . * General mode: when you vim filename to edit a file, it is normal mode to enter the file. . In this mode, you can do the following actions: Move the cursor up or down, delete a
Vim Auto-complete plug-in----youcompleteme installation and configurationUsing Vim to write a program without the use of auto-completion plug-ins, there is no similar to the Linux vs visual Assist X such a quick and easy to complete plug-ins? Used
This chapter focuses on the use of the @ feature in the VI editor, the ex script, and the Ctags tool.functionA named buffer provides another way to create a "macro" that allows you to save a complex sequence of commands into a named buffer and then
VI (VIM) is a very common editor on Linux, and many Linux distributions have VI (VIM) installed by default. VI (VIM) commands are numerous but if used flexibly it will greatly improve efficiency. VI is the abbreviation for "Visual Interface", Vim is
First, enter the editorLine: Edit,e,exScreen: Vi,v,viewVi-r filename (continue the accidental file edit)VI file1 file2 file3 (after editing the previous file, use: W to save, use: N to start the next file edit)Vi-x filename (edit to encrypt
VIM (Wikipedia map) Vim is a fairly powerful command-line editor that originates from UNIX platforms, but it's not a good thing that Mac OS X does not have a lot of Linux distributions on top of Vim's awesome horse code highlighting AH, automatic
Today colleague small partner suddenly told me that he used the editor Sublime3 cause the notebook suddenly lag, look at that time memory ate 30G, and his notebook total 8G memory, suspect is memory leak, decisive change back to the original used
For VIM configuration Neocomplete automatic completion plug-in, the installation is complete after the "Neocomplete does not the work thisversion of Vim. It requires vim 7.3.885 or above and "If_lua" enabled vim." Error message, the Neocomplete
Index
Jump
Undo
Code folding
Buffer Zone
Tag
Open and save files
Insert
Move cursor
Copy, paste, and delete
Indent
Search and replace
Bookmarks
Ctags
Bash
Auto-completion
Split screen
Diff
Source: ChinaUnix blog Date: 2008.07.30 (1 comment in total) I want to comment
Software requiredVimHttp://www.vim.orgCode_complete.vim plug-inHttp://www.vim.org/scripts/script.php? Script_id = 1, 1764Ctags are usually available
From: http://www.ibm.com/developerworks/cn/linux/l-tip-vim3/index.html
3.1. Vim script Basics
In the. vimrc file, and in the plug-in and syntax files mentioned in Chapter 2, the language used is the Vim script language. The syntax of this script
Learn vi and vim Editor (4): fast moving location, vivim
Generally, the first step to edit a text is to move the cursor to the desired location. Therefore, the speed of editing a text depends on the number of buttons required to move the cursor to
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