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
"General Settings
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"Set default decoding
Set Fenc=utf-8
Set fencs=utf-8,usc-bom,euc-jp,gb18030,gbk,gb2312,cp936
"Do not use VI keyboard mode, but vim own
Set nocompatible
"Number
You can now use most of Vim's basic commands, function to develop project code, but in the development process of the project, still feel some operation efficiency is low, for example through h/j/k/l to carry on the large-scale movement of the
VI and Vim Editor and its shortcut keys1. The difference between VI and VIMThey are multi-mode editor, the difference is that Vim is the upgrade version of VI, it is not only compatible with all VI directives, but also some new features inside.These
First, edit mode, command modeIn general mode, enter: or/To enter command mode. In this mode, you can walk a character or string, save, replace, exit, display line number, etc./word: Look for a string after the cursor word, press N to go back to
Tag: page combination also writes pen question name displays line number moved multiple timesThe previous mention of Vim, which is a necessary tool in Linux. No amount of work can be done without it. Early UNIX was used as the system default editor
(a) What is Vi/vim?Almost all the configuration files in the Linux world exist in plain text, and the VI editor is available on all Linux distribution systems, so it is convenient to easily modify the various configurations of the system with simple
Ubuntu vim to install itInstallation and basic usage 1. Log in to Ubuntu with the root account, enter vim on the command line, and get the following hint if not installed: The program "Vim" is included in the following packages: * VIM * vim-gnome *
The use of a few, plus a period of time useless, so it will be more superficial.Vim: Classmates recommend, say, use a bit, but before using really need to learn how to use, very novel, Http://baike.sogou.com/v6545897.htm?fromTitle=VIM, Skilled,
Chapter Description :This section will teach you how to use the Vim editor to write documents , configure host names , network card parameters , and the Yum repository , and be familiar with the various modes and command shortcuts.We can finally
Indentation tab or space, this is not a problem, just like python with four spaces to indent, this is to see a person's preferences. In Vim, it is convenient to set the Tab tab or space according to different file types, and also to set the length,
1. Vim Common copy and Paste commandVim's copy-paste command is undoubtedly y (Yank), p (paster), plus yy,pPs:Vim has a very interesting convention (I think it is a convention), that is, the case of a command is to achieve a certain function, but
one case is to open multiple files in the shell with Vim, and the other is to open multiple files in the VIM editoropen multiple files at the same timeVim File1 file2Open the file and display the Vim-o file1 in the horizontal window file2Open file
Zhanhailiang Date: 2014-10-20Today read EXT/SESSION.C source code when you want to use Ctrl +] to find the definition of Php_session_start function, error: "E257:cstag:tag not Found", such as:Workaround:[Root@~/Wade/Codereview/php-5.3.29/Ext/Session]
1.Vim#在命令行中输入vim, enter the VIM editor2.I#按一下i键, lower display--insert--#插入命令, any character may be useful in vim3.Esc#退出i (insert) command for other commands to use4.: R filename#读入一个文件内容, and writes to the current editor5.: w
Windows 10 Environment installation VIM code completion plugin YoucompletemeIt's been a week. Windows installation VIM code complete plug-in Youcompleteme, today at home toss a day finally fix. The key issue is the Python environment: you must
The following are some of my experiences:
Let's take a look at vim. VI is a widely used text editor in Unix/Linux, which is available on most machines. VI has various variants, and different variant software is often used on different machines.
When reading the help document of ctags, You can see ptags. py, which is used to generate tags for python. The specific directory is in Python source code tools/scripts/ptags. py. You can download it from the python official website.
Source code,
Document directory
Custom syntax File
In fact, sequence Vim supports the addition of syntaxes in hundreds of languages. However, the addition of scripts based on syntaxes does not satisfy everyone. Sometimes we want to highlight some specific
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