The configuration file for vim in Ubuntu is stored in the/etc/vim directory with the configuration file named VIMRC
Show line Numbers
Syntax highlighting
Auto Indent
Show commands in text
Show nearest brace match
Smart Match
Smart
1. Start diffThere are many ways to turn on diff in Vim, and here are a few common scenarios.1.1 External directly open two files# Direct use of Vimdiff instructionsVimdiff file_1 file_2-D file_1 file_21.2 File comparison after opening a file-on
Reference:http://blog.csdn.net/longxibendi/article/details/38276847The VIM editing program has three modes of operation, called edit mode , insert mode , and command mode, respectively. Note: Some instructions cannot be executed on my machine.
First try to use CD ~/.vim to enter the. Vim folderIf not, create a mkdir ~/.VMThen create the colors after entering the. Vim folderInput instruction mkdir Colorsthen enter the instructions.git clone git://github.com/altercation/vim-colors-solarized.
The configuration file for vim in Ubuntu is stored in the/etc/vim directory with the configuration file named VIMRCThe configuration file for vim in Fedora is stored in the/etc directory with the configuration file named VIMRCThe configuration file
How to view the source code under Linux: I used to install a source insight from Linux, but it needs to be installed here to install this wine.combination of Ctags+vim :Today, another tool for viewing source code under Linux is. A combination of
Test environment: Ubuntu 14.04 version KylinVim itself does not have golang syntax highlightingSolution:In the/usr/share/vim/vim74/There are so few folders: syntax, Ftplugin, indent, compiler, etc.,We see syntax can see there are gcc.vim and other
Open VIM configuration file, where/ETC/VIM/VIMRC is addedC code1 set fileencodings=utf-8, gb2312,gbk,gb18030 2 set termencoding=utf-8 3 set ENCODING=PRC Save to exit, this time VIM will be able to display Chinese correctly.For Gedit, the
y:To substitute this matchn:To skip this matcha:To substitute the and all remaining matchesq:To quit the commandl:To substitute the match and quit (think of "last")^E:To scroll the screens up by holding the Ctrl key and pressing E^Y:To scroll the
Vim's frequently used shortcut keysH-Move the cursor left one character J-Move the cursor down one characterK-Move the cursor up one character L-move the cursor right one character down 15 lines-15jCTRL + F-the screen moves down one page Ctrl +
Article turned from: http://blog.csdn.net/shell_picker/article/details/6033023Excerpted from the Vim Handbook:Options :1. TabStop: Indicates how many spaces a tab displays, default 82. Softtabstop: When editing (such as pressing backspace or TAB) A
The first step:Manually mount the Redhat to the virtual machine.Step Two: query whether to install VIM [1] (here is just the mini version installed)Step three: Hang the fileFourth step: Build a Yum sourceFifth Step: Install VimAbout public key for *.
Before I did not know why to learn the Vim and VI editor, just heard people say that this is important to Linux.First of all, why study this editor, the individual reading comprehension.The important task of a system administrator is to participate
VI and VIM have always been talked about, in the end what makes them so popular?VI is divided into 3 modes: General mode, edit mode, command line mode.(1) General mode:After entering VI, the default is the general mode.Useful: Easily move cursor,
1. Download:Download page: http://vimcdoc.sourceforge.net/Select "Latest platform independent Tarball, including an Linux/bsd installation Script" "1" download.2. Installation:Many people on the internet said that "decompression, the doc directory
Thank you: http://www.cnblogs.com/renrenqq/archive/2010/09/09/1813669.htmlHowever, there are some errors, and deficiencies, the process is now recorded as follows:Download and install Python.Download vim from the VIM website and suggest the
Colleagues around you are either using vim or Emacs. If you use ultraedit, you are embarrassed to say hello to others. What plug-ins are there? syntax highlighting and spelling check, everything that can be opened to it is a word: Cool.
If you say
Vi and vim Editor (8): Global replacement (1)
This chapter describes the global replacement commands in the vi editor. The global replacement command can be used to automatically replace all words in the file. Generally, two ex commands are used for
Vi and vim Editor (6): ex editor Overview (1), vimex
The bottom-layer editor used by the vi editor is the ex-row Editor, which can be considered as the visual mode of the ex-row editor. Ex allows you to edit commands with higher mobility and
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