A simple configuration1 Add configuration file. vimrcUnder directory/etc/, there is a file named VIMRC, which is a public vim configuration file in the system and is valid for all users. and in each userHome directory, you can create a private
Vim split screen display 1. Horizontal split-screen split (sp) | | Vertical Split-screen vsplit (VS) :(v) split enter such a command and VI will divide the current window into two, and the same article is displayed in these two windows. If you
This article is based on Debian1.vim Introduction to use 1.1vim InstallationUse apt to install vim:sudo Install Vim 1.2 Mode of the VIM editorThe Vim editor is divided into command mode and edit mode.Command mode: Turn on vim by default into
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, and the configuration file named VIMRC. Vim in red Hat Linux
Https://github.com/derekwyatt/vim-scala provides a choiceLook at the install manual and find that two commands are required.mkdir -P ~/.vim/{ftdetect,indent,syntax} for in ftdetect indent syntax Do wget --no-check-certificate-o ~/.vim/$d/scala.vim
There is no shortage of drawing software (such as yed, etc.) on Linux, so why you need to use Vim to draw:
Lighter, no need to install too many things
Smaller, just some text, much smaller than the picture, and easier to use.
More
Set auto indent: Set autoindentSet indentation Level: Set Shiftwidth=n (n=1,2,3 ...) Indent several spaces.Turn off Auto indent: Set noautoindent1. How to editPressing the ESC key at any time will enter normal mode. In normal mode you can press: to
Vi:visual InterfaceVim:vi improvedVim is a full-screen editor and a modal editorVim mode:Edit mode (Command mode)Input modeLast-line modeMode conversion: Default is in command modeCommand--Input:I: Inserted in front of the character that the current
1. In order to display line numbers, execute one of the commands in the Vi/vim editor: Set NumberOr: Set Nu2. In order to close the line number, execute the following command in the Vi/vim editor: Set nu!If you want to start vi/vim each time,
Http://www.cnblogs.com/JessonChan/archive/2010/11/25/1888020.htmlFill in the note:There is no search and replace in the figure, which should be used below.Top-down lookup operations /word lowercase N and NBottom-up lookup operations
ColorScheme Evening"set background color to night modeSetNocompatible"Get rid of nasty about VI consistency patterns, avoid some bugs and limitations of previous versionsSetcompleteopt=preview,menu filetype plugin onSetRuler"Open the status bar
Command historyCommands with: and/begin with a history, you can first type: or/Then press the up and down arrows to select a history command.Start vimEnter the following command in the Command line windowVim starts vim directlyVim filename opens vim
1. Unbeatable scalability1.1 Scalability gives software a powerful lifeOnce upon a while, Windows users had no concept of software extensibility, and they could only make very limited customizations to the software they used. The right to extend the
Although today is National day, but study can not stop, today is learning is liunx, more important 2 editor, VI and Vim, perhaps someone asked why to learn these 2? There is no easy-to-use Nano.Mainly because there are some other liunx version,
The first version of VI was written by Bill Joy in 1978, when he was a UC Berkeley student. Later he co-founded the Magical Sun Company. VI is derived from the word visual, the goal is to visually simulate the editing of text on the terminal, is
Morning: Redirect:Tadafa (| character) can connect commands ll–l/etc/| Less Vim Advanced text editor vim introduction650) this.width=650; "title=" image "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:
Full-screen editor: VIMVi:visual interfaceVI, VI improvedVim:Pattern:Edit mode: Command modeInput mode:Last-line mode:Edit mode--Input mode:I:insert,A:append,O:new Line,I: The beginning of the lineA: End of lineO: Above New CCBInput mode--edit
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