The use of VIM for Linux Fundamentals (12)

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 configuration files and usage of the VIM editor

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 vim

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 operations

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

Vim is used in conjunction with SED

(. 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,

How to use VIM----reproduced

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:

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

Vim adds or removes multiple lines of comment

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

Vi/vim of Linux

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

VIM Usage Tips

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

"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

10 + Tips to save time for vim novice

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

01--vim Common shortcut keys

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

Vim's Column editing operations

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 "()"

Quick Print log of vim script

"Zsl_log.vim"version:1.0If exists ("G:zsl_loaded_log") | | CP | | V:version FinishendifLet G:zsl_loaded_log = 1The underlying functionfunction Addlog ()Let Zslinde = max ([Indent (".")], indent (Line (".") +1)])Let log = ' android.util.log.e '

Vim Configuration Finishing

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

Record the VIM profile I used

It's not perfect yet:Au bufreadpost *ifLine"' \ '") >0|ifLine"' \ '") "$") |exe ("norm ' \ '")|Else|exe"Norm $"|endif|endifsyntax onfiletype onset linespace=0 "character putting insert pixelsSet sw=4Set TS=4set Etset smset lbrset History= + "number

Introduction and configuration of VIM

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

[Python] Keep efficient by Vim in Pycharm

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

Cygwin and VIM configuration

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

Total Pages: 210 1 .... 206 207 208 209 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.