Vim: Define your own color theme (ColorScheme)

Command mode input: Hi[ghlight] can see the current vim of the coloring style command mode input: Sy[ntax] can see the current syntax highlighting mode, when the text of the document and the list of the regular table match, VIM will give the text

Linux Vim (eight)

Linux Package ManagementPackage Classification: Source Package and Binary packageBinary packages are compiled, easy and quick to install, but unable to view the source code, not as flexible as the source package.Source package needs to compile, and

Reproduced in: Linux vim three modes

General Mode : Enter the "Vim file name" in the Linux terminal to enter the general mode, but cannot enter the text.edit mode : Press I in general mode will enter the editing mode, you can write the program, press ESC to return to the general

Debian Vim highlighted syntax

By default, VIM is not installed in Debian. APT-Get install vim-y is required. By default, the highlighted syntax is also annotated. You need to cancel the annotation in the configuration file:Vim/etc/Vim/vimrcCancel the following comments:; Syntax

Shorten the refresh time of taglist in VIM

When the cursor inside a function is located in Vim, The talist column displays the current function. However, by default, the refresh takes a long time and is inconvenient. Original link: Www.newsmth.net/nforum /#! Article/Vim/39368   Solution:

Make the configuration file of the edited Vim Editor take effect immediately (it takes effect automatically)

Simply put, after centos6.3 is installed on a virtual machine, the configuration file without the vim editor is used by default. If necessary, you can customize or configure your vim editor as you like:1. If you have the root permission, go to the

Install the ctags plug-in and taglist plug-ins in the basic configurations of vim.

Vim configuration file "Display row number set nu" hidden assistance prompt set shortmess = ATI "syntax highlighting syntax on" using Vim keyboard mode "set nocompatible" No need to back up set nobackup "not saved or file when read-only, the pop-up

Vim skills (2) search and replace

Today I will share with you how to find and replace vim.   For example, there is an article. Chinese and English are not limited. If you want to find the text or words in the notepad of the win system, press Ctrl + F to query them. In vim, you

Write with vim (1)

This article is from svitter's blog Was Vim used about a year ago? This is also an uncertain time. The specific time when Vim was used has been forgotten.It is still easy to use, but many things have not been carefully studied yet. The simplest

Vim shortcuts and plug-ins

Complete Vim shortcuts and plug-in code Use Vim built-in completion and shortcut keysCtrl-nOrCtrl-p. Automatic completion plug-inAutoComplPop.Note NERDCommentPlug-ins Common commands: ccIn visual mode, comment on the selected

Use Vim for IDE

Edit. vimrc in the Home Directory (create if none exist ). SYN on "syntax supports" common conf {general configuration set ai "automatic indent set BS = 2" in insert mode, use the return key to delete set showmatch "code matching set laststatus = 2"

Install Vim on centos

In centos, only vim-minimal-7.x is installed by default. Therefore, whether you enter VI or Vim to view files, the syntax function cannot be enabled normally. Therefore, you need to install two other components with Yum: vim-common-7.x and

Vim visual mode

Reference: http://xw2423.byr.edu.cn/blog/archives/232 Http://www.pythonclub.org/linux/vim/visual-mode   Vim's multiline editing skills are all in "visual mode.  You can enter visual mode in three ways: 1. V select by byte 2. V select by line 3.

Vim practical skills Reading Notes

Chapter 1 First, we put forward the idea of VIM: how to improve reuse -- easily repeat previous operations.In addition, the author divides Vim operations into two steps: One is mobile, and the other is operation. For these two aspects, the

Vim common skills summary 2

My main blog: half an acre of fangtang 1. Search for characters in the row where the cursor is located in Normal Modef{char}Command to move the cursor to the position where the character is located.;, Roll back to search, 2. search and replace the

Back up Vim configurations

Source $ vimruntime/vimrc_example.vimSource $ vimruntime/mswin. VimBehave mswinMap :! Python % Set diffexpr = mydiff ()Set fileencodings = UTF-8, Chinese, Latin-1, cp936, gb2312Set fenc = UTF-8Set tabstop = 4Set shiftwidth = 4Function mydiff ()Let

Record the vim configuration file

1 "show row number 2 set nu 3 4" Hide assist prompt 5 set shortmess = ATI 6 7 "syntax highlight 8 syntax on 9 10" file type automatic detection 11 filetype on 12 13 "Use Vim keyboard mode 14 set nocompatible 15 16" No need to back up 17 set nobackup

Use vim (III):. viminfo and. vimrc

eol

Use vim (III):. viminfo and. vimrc1. viminfo's operations in vim will be automatically recorded by vim and saved in ~ /. Viminfo file. In this way, the cursor is automatically displayed at the last exit when vim opens the file. The previously

Use vim (II): common functions

Use vim (II): common functions1. Common vim functions: common functions of vim, including block selection, copying, multi-file editing, and multi-window functions. 2. Select the vim block to copy and paste a part of the document without processing

Xin Xing and you disable vim's automatic backup function

Xin Xing and you disable vim's automatic backup function When we use gvim to edit a file, ~ If we do not want to automatically generate a backup file when editing the file, we need to modify its configuration file, but I did not find the

Total Pages: 210 1 .... 189 190 191 192 193 .... 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.