Vim Common settings

. vimrc file We have already learned that the configuration file for vim is VIMRC file and that the VIMRC file is divided into system VIMRC file and user vimrc file . Under normal circumstances, we do not make the system VIMRC file

Vim Common Operation Summary

On the command line: H command and character to view the meaning of the command and characterFirst, mobileIn normal mode1.1. Moving and insertingH move one column to the leftL Move Right one columnJ Move down one columnK Move up one columnG the last

Vim Replacement Command

Replace command format • Command Format: [Replace-range] s/replace-pattern/replace-string/ [c,e,g,i]• Command Description        text replace range , in general form, is [M,n] , which indicates that the text between rows of M

Compiler God VIM makeover

I believe that farmers hear two artifact codes, first Emacs, first vim. Everyone knows that e party and V party always quarrel. Unexpectedly, this does not help the noisy. Just everyone has their own reason also applies. Contact with Vim while

How to use the VIM editor

introducing the next Wim,Vim is a well -known, powerful, highly customizable text editor similar to VI, which improves and adds a lot of features on the basis of VI. VIM is purely free software. Vim is generally respected as the best of the class Vi

A simple application of the VIM editor

Vim is a well-known, powerful, highly customizable full-screen text editor similar to VI.Usage: VIM [parameters] [file:] Edit the specified fileOr: Vim [parameters]-read text from standard input (stdin)Or: Vim [parameter]-T tag edit file at tag

Vim's detailed use

Vim Editor:;Full-screen editor: Vim:vi Improved (vi enhanced version)Vi:visual interfaceVim: Just text full screen editorPattern:Edit mode: Also called command mode to copy the text, delete and so onInput mode: That is, enter content into the

Empty file contents with vim

In command mode, the first execution of GGThis jumps to the first line of the file.Re-execution: DGThis clears the entire file!There is also a way to exit vim and then use echo >> file to quickly clear the contents of the file, but you can also

Vim Copy, delete

^ Represents the beginning of a line, and $ represents the end of a row. GG document header, G document footer.Here is the basic command for VIM copy and paste:yy duplicates the row where the cursor is located. or uppercase one Y.2yy or y2y copy two

The command ' vim ' and how to use it

Vim Basic editing commandsThere are three basic modes of 1.vim:Edit mode (command mode), input mode, last line mode2. Three modes of conversion:Edit mode--Input modeI:insert, enter at the cursor positionA:append, enter after cursor locationO: Opens

Syntax highlighting when vim nginx configuration file

1. Download Nginx.vimDownload page: http://www.vim.org/scripts/script.php?script_id=1886wget Http://www.vim.org/scripts/download_script.php?src_id=14376-O Nginx.vim2, Installation Nginx.vimPlace the Nginx.vim in the ~/.vim/syntax/directory,3,

Linux Learning notes--vim operation use

Vim EditorVim is a very useful text editor for LinuxThere are three basic modes of VIM: Edit mode, command mode and last line modeThe following sections describe the operation of each of the three modesFirst, we introduce the conversion methods of

Vim Common commands

Have a certain VIM basis can read this article, can quickly query common commands.Use VIM to install the following three packagesvim-minimal only provides VI and related commandsvim-enhanced provides VIM commandsvim-x11 offers GvimVIM has three

Talking about VIM environment setting

Sometimes the default Vim environment is not suitable for your requirements, and we can adapt to our needs by modifying Vim settings such as fonts, colors, auto-indentation, and so on.The usual setup parameters are as follows:: Set Nu: Set Nonu sets

Vim Indent Settings

1. Create a new. vimrc file.2. Add content to the file.Set tabstop=4 set softtabstop=4 set shiftwidth=4 set Noexpandtab set Nu 3.TabStop: Indicates the length of the number of spaces that a tab displays, by default it is 8.Softtabstop: Indicates

Installation and use of VIM

First, install VIM.1. No network conditionsMount CD to MNT under Mount/dev/mount/mntThen use the RPM command to install the rpm-ivh/mnt/packages/vim-common-7.2.411-1.8.el6.i686.rpm/mnt/packages/ vim-enhanced-7.2.411-1.8.el6.i686.rpm2. Network

Vim configuration file

# cat ~/.vimrcset nocompatiblefiletype indent onfiletype plugin onset  Tabstop=4set shiftwidth=4set autoindentset cindentset smartindentset hlsearchsyntax  enableset dict=/usr/share/dict/wordsif has (' Statusline ')     set  laststatus=2     "Broken 

Vim Use Notes

Move HJKL ctrl+udbf f+ character: Moves backward to the specified character f+ character: Moves forward to the specified character Example: FG moves to letter G 0dfH: Delete From the beginning of the line to the first H Move in Word W Move head

Vim as programmer (i)

Start using Vim (i) vim被称为是编辑器之神,如果可以学好vim的话,就可以在键盘上 “健指如飞” 了,可以完全摆脱鼠标来进行文本的定位编辑。 当然,vim还可以进行各种配置,装上各种插件,做成 IDE ,会有很炫酷的感觉,而且做为 伟大 的软件工程师,能在键盘上 刷刷刷地,灵活地超控自己的代码也是一种非常值得 自豪的事,所以,我觉得,掌握 vim 是做为一个计算机方向专业的人的基础课程,很有必要去接触一下 vim 这个“编辑器之神”。

Vim enable the self-signed plug-in configuration

Linux system directory/usr/share/vim/vim74/autoload The following are some of the plugins that are available after Vim is installed, if you need to enable these plugins to be configured in ~/.VIMRC, such as: Configure the Python plugin to be enabled,

Total Pages: 210 1 .... 137 138 139 140 141 .... 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.