Vim (Linux editor) simple configuration and common commands

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 Usage Summary

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

Vim Common commands

1. Exit VI:wq! 强制保存退出:wq 保存退出:x 保存退出(作用和:wq一样)ZZ ZZ大写,并且不是在命令行模式(作用跟:wq一样):q 退出:q! 强制退出2. Mobileh 在当前行向左移动一个字符j 移动到下一行k 移动到上一行l 在当前行向右移动一个字符Ctrl+f 向前滚动一页Ctrl+b 向后滚动一页:n 将光标定位到第n行:$ 将光标定位到最后一行0 将光标定位到本行行首$

"Linux" Vim editor

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

Vim Display line number, syntax highlighting, auto indent settings

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

The syntax highlighting of Scala in vim

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

Vim-------Create, view, edit files

1. Vim usage650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/7F/57/wKiom1caLeiBxkiKAAEbx0ajgDc460.png "title=" Picture 1.png "alt=" Wkiom1caleibxkikaaebx0ajgdc460.png "/>1.1 Command mode1.1.1 SettingsVIM/ETC/VIMRC Vim configuration

High-cornered drawing: Vim can play this way

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

Vim Common commands

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

Vim Editor Detailed

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

Display line numbers in VI or VIM

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,

Vi/vim keyboard diagram

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

ACM VIM Configuration

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

Vim Command Collection

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

VIM-related commands are documented separately

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

Daily Liunx command, VI and VIM usage

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,

Linux knowledge (5)----VIM

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

2015.9.13 VIM, permissions, and network management

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:

Use of the VIM editor

Vim Editor:Full-screen editor: VIMVi:visual interface Vim:A modal editing Tool:Edit mode: Command modeInput mode:Last-line mode: Mode conversion: Edit mode (default)--Input mode:I:insert, insertionA:append, inserting after cursor executionO:new line,

Vim Editor Usage Summary

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

Total Pages: 210 1 .... 90 91 92 93 94 .... 210 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.