Vim is the next powerful text editor for Linux, so let's take a look at some of the most common usage examples below.Vim has three modes of mode editing, last line mode, and input mode.The edit mode is used primarily for copying, pasting, and
Some of the simplest configurations are those that can be written in the. VIMRC:
First, note that in the. vimrc file, you can use the "write off a line of configuration."
Set nocompatible "Turn off VI compatibility mode, where
Basic commands commonly used by vim1. w [filename] is equivalent to save as2. R [File name] Add the contents of [filename] after the cursor line3. N1,n2 W[filename] Save the contents of N1 to N2 as [filename]4.50DD Delete 50 lines 5x Delete 5
Linux--vim Common operationsInsert command:
Command
Role
A
Insert the word specifier where the cursor is located
A
Insert at the end of the line where the cursor is
I
Insert
(. 1.): s/vivian/sky/Replace the current line the first Vivian is sky: S/vivian/sky/g replaces the current line all Vivian are sky(. 2.): N, $s/vivian/sky/the first Vivian of each row in the beginning of line N to the last row is sky: N,
Reprinted from: http://www.cnblogs.com/itech/archive/2009/04/17/1438439.htmlVi/vim Basic Use MethodThis article describes the basic use of VI (VIM), but for the average user is basically enough! I/vim the difference is simple, they are multi-mode
Some of the most common Vim editor shortcut keys:h","j","k","l", respectively, control the cursor left, bottom, up, and right one grid.Press "ctrl"+"b": The screen moves one page to the back.Press "ctrl"+"f": The screen moves one page to the
I. Adding multiple lines of comments
1. Vim's command mode (ESC enters command mode):
2. Press CTRL + V to enter visual mode (visual BLOCK);
Note: The VIM command mode v enters the visual mode, CTRL + V. Enters the visual block, simple to
Reference from: http://www.cnblogs.com/itech/archive/2009/04/17/1438439.htmlITechSource: http://itech.cnblogs.com/Re-editing, only keep the usual commands, and add a little understanding and experience.1, VI of the basic conceptBasically, vi can be
OrderTo Baidu after the job, found in our department, whether Mac or Windows programmers exclusively to use VIM to edit code, a variety of plugins, shortcuts, dazzling commands and so on. I used to be in college only a few vim commands, to Baidu
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
10 + Tips to save time for vim novice2016-04-28 Linux Enthusiasts(Click the public number above for a quick follow-up)
from: Specs ' blog-love PHP
Links: http://9iphp.com/linux/time-saving-tips-for-unix-vim-beginners.html
Vim is the
The function of Vim editor in Linux is very powerful, many commonly used shortcut keys are very convenient, here will I learn the introduction of vim some of the commonly used shortcut keys to share to everyone, hope to help you.This is the bird in
Delete Column1. Position the cursor where you want to operate.2.ctrl+v into "visual block" mode, select how many rows this column operates.3.d deleted.Insert ColumnKnowledge is slightly different when inserting operations. For example, we insert "()"
Simple settings for VIM themes:Call pathogen#infect () syntax on"turn on syntax highlighting"Chinese support set fileencodings=UTF-8,CP936,BIG5,EUC-JP,EUC-KR,LATINL,Ucs-bomset ambiwidth=double "prevents special symbols from being output ColorScheme
Vim is a very powerful editor, especially for the programmer population.Switching efficiency is often not high in various editors, and various features are easily confused. Vim is a good choice if you are only allowed to pick an editor.The direct
from:http://blog.csdn.net/u013088062/article/details/50144201from:http://blog.csdn.net/u013088062/article/details/50148219There are already plansCustom ScenariosConfiguring the VIM scheme
There are already plans1. ThemeThere is no doubt that
Reference
Http://www.jeepshoe.org/810958442.htm
Cygwin installation Package Manager
Before installing Apt-cyg via terminal, select the following packages to installWgetTarGawkBzip2 Apt-cyg is a simple script. To install:lynx
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.