LINUX VI (VIM) highlighting syntax files

"Under the directory/etc/, there is a file called VIMRC,"This is a public vim profile in the system and is valid for all users." And in each user's mainDirectory, you can set up your own private configuration file, named:. VIMRC "Cancel Automatic

Vim Regular Expression Bulk Modify text __ Regular expressions

VIM Regular Expression bulk Modify text Demand TXT text of country area code and area, turn into plist file example used on iOS Test.txt +93:afghanistan +355:albania Amend it to country Afghanistan code +93 country

Vim Configuration and usage

The Vim configuration file path is typically/ETC/VIM/VIMRC CTRL + P//prompt to be padded GG=G//Automatic typesetting $//Move the cursor to the end of the bank. : X//Save exit :%s/emacs/vim/g//Replace all Emacs in the current line with VIM The

Linux Learning-Vim editor

There are three modes of VIMCommand mode, default into command mode;Edit mode, a I o enter the editing mode, you can edit the text content; Esc tangent back to command modeExpansion mode,: Enter the expansion mode, you can save the exit and other

Vim Installation and Configuration

1.1 Installing VIMTerminal Input Command InstallationInstalling Vim:yum install vim under CentOSUbuntu installation Vim:sudo Apt-get install vimNote: If you are not prompted for permission at the time of installation, you are need to being root to

VIM Common directives

0 indicates the beginning of a line, and $ indicates the endG moves to the end of the line, Ng moves to n rows, GG moves to the beginning[ENTER] jumps to the next line of the current cursor/word down looking for word this wordWord looks up word this

19th. How to use the VIM editor

Vim Editor Commands commonly used in the Vim editor are stored in the ~/.viminfo file There are 3 modes in the VIM Editor: Command mode, last line mode, and input mode, and three modes are converted as shown: Vim file name #

Phase 26 20180621 Vim Editor

June 21 Task5.5 Entering edit mode5.6 VIM Command mode5.7 Vim PracticeExtendedSpecial usage of vim http://www.apelearn.com/bbs/thread-9334-1-1.htmlVim Common shortcut key summary http://www.apelearn.com/bbs/thread-407-1-1.htmlVim quickly deletes a

Usage of VIM

    VI Common usagedescription, all commands do not include "", If "" "(half-width double quotes), is a command character, please note the distinction. Insert:"I" starts before the cursor positionthe "I" cursor moves to the beginning of the current

Vim tips,. vimrc file

Upload the. vimrc file to the user's home directoryThe contents of the file are as follows:Autocmd bufnewfile *.py,*.cc,*.SH, *.java exec": Call Settitle ()"func settitle ()ifExpand"%:e") =='SH'Call Setline (1,"#!/bin/bash") Call Setline (2,"########

Configuration of Vim

Vim configuration file is VIMRC, location under/etc/vimSet nu--sets the line number, where Nu is the abbreviatedSet autoindent--setting Auto IndentSet ts=4--sets the indentation of the TAB key to 4 spaces, where TS is the abbreviation for TabStop,

The basic use of VIM

The common use of VI1. General modeCtrl+f Move Down one pageCtrl+b Move up one pageCtrl+d Move Down half a pageCtrl+u move up half a pageN[enter] cursor down n line, n for number, Enter for keyNG moves to the nth row of the fileG move to the last

Editor of God-vim

About VIVI is the abbreviation of "Visual interface", its status on Linux as if the edit program on DOS. It can perform many text operations, such as output, delete, find, replace, block operations, and so on, and users can customize them according

Vim's shortcut keys

Vim's shortcut keys(0) 3 The toggle between modes is default in command mode. I key, from command mode, into insert mode. The colon (:) key, from the command mode, enters the last line mode. Esc key, from insert mode, last line mode, into command

Vim Shortcut Key Summary

from:http://cenalulu.github.io/linux/all-vim-cheatsheat/The most complete Vim shortcut key map in history--getting to the advanced level Article welcome reprint, but reproduced when please retain this paragraph text, and placed on the top of

Basic operation of Vim

vim Normal mode, insert mode, command mode switchVIM open, cursor Movement, edit mode, normal mode, command mode toggle commandThe cursor can be moved in the screen text using either the left or right arrow keys on the keyboard or the HJKL letter

Linux Command 2 and VIM editor

1. Find permissions are not sufficient before adding Sodu find--help2. TarPack TAR-CVF Xxx.tar xxx.xxUnpacking TAR-XVF Test.tar (original package not deleted)Packaged compression TAR-ZCVF xxx.tar.gz xxx.xxTAR-JXVF xxx.tar.bz2 xxx.xxZip Zzz.zip

Vim Tree Menu Plug-in Nerdtree installation

Vim Tree Menu Plug-in installation Nerdtree1. mkdir ~/.vimCD ~/.vimmkdir Bundlemkdir AutoLoad2. Curl-sso ~/.vim/autoload/pathogen.vim https://raw.githubusercontent.com/tpope/vim-pathogen/master/autoload/ Pathogen.vim3.vim ~/.VIMRCAdd this

17th lesson The general mode of VIM tools

One, vim toolsVim is an upgraded version of VI, VIM with color display, divided into general mode, editing mode and command mode1. Install Yum install-y vim-enhanced2, Vim color display is based on the contents of the file display, its configuration

Linux uses Vim to play Python

The configuration file for Vim is the. vimrc file in the current user host directory by default. The following configuration is a common vim configuration for Python development."Highlight when moving forwardSet Cursorline"Set the tab to a width of

Total Pages: 210 1 .... 202 203 204 205 206 .... 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.