Tips for using Vim

Vim query manpage: press Ctrl + k to quickly query the words under the current cursor in manpage. Enter Chinese Characters in VIM: Enter the Chinese shortcut key Ctrl + & Send an email directly with the selected content in VIM: The method for

Turn to Vim's learning Manual

I recently advocated Vim in the project team: the first reason is that the text editors used by everyone are different. They use ue, notepad ++, and editplus, some tools involve copyright issues, and the final text format is not uniform during text

The first time I used Vim to write C language programs in Linux

1. Enter the character page 2. Create a folder to store the source file MkdirHelloworld // create a folder CDHelloworld // enter the new folder. Here we should say that the directory is better, and Windows is used to it. VimMain. C // open

VIM + taglist + ctags in Windows

Install it in Windows:1.Download from www.vim.orgTaglist_45.zip. After decompression, there are two files Doc and plugin. Copy these two files to the install directory Doc and plugin of vim.2. Open Vim : Helptags $ (home)/doc: HelpTaglistThen you

Vim and ctags

gtk

1. View function/variable definitions 3. Set the tags search path of vim. Edit ~ /. Add a line to the vimrc File # Add this line to let the ctags search tags in the file "/opt/GTK/tags" Set tags + =/opt/GTK/tags 4. move the cursor to the

Vim command learning Summary

: So % re-load. vimrc = Vim /Search: Nohlsearch Remove selected words : % S // replace all ig: S // + & replace specified rows > Indent4> indent four lines J. merge two rowsCTRL + F.CTRL + B full screenCTRL + D.CTRL + u upper screen.CTRL + e move

Vim configurations about Automatic Input

As the editor God, Vim's key ing function is very practical. When writing code, you often need to enter various parentheses, such as the parentheses of function parameters and the brackets under the array, the braces of the function body. To avoid

Copy, paste, and small tips for code formatting edited by VIM

When editing C ++ code or other code in Linux, copy, paste, and code formatting are common functions. However, Linux is a keyboard operation, therefore, you need to write down some tips. The following tips should be the easiest. Press the I or

Vim dictionary support

  My Ubuntu version is Ubuntu 10.10, 1. First install sdcv: Root@linuxidc.com :~ # Apt-Get install sdcv 2. Install Dictionary data The downloaded dictionary is: langdao-EC-GB Dictionary (En-zh_cn) langdao English-Chinese dictionary. The downloaded

VI & Vim copy, paste, and cut text

I often use the VI editor, but it is basically a habit of windows. I have never learned the functions of the system. Today I have encountered text copying, which is no way to solve it. Let's take a look at the solution below: references: NLP often

Vim command Summary

Document directory Preface Tag command Window command Others Move on screen Bookmarks Mark text Actions on tags Preface   Vim is a super editor designed for programmers. It is incredibly powerful.. However, the learning curve is steep. I

How to change Vim to source insight

In Windows, many people use source insight to write and view code. Vim can be used in Linux. At the beginning, VIM is considered as a notepad in windows. If it is used properly, it is not inferior to source insight.Here, I will do my best to explain

Incomplete Vim configuration Manual

Make up your mind to configure vim. Basic Configuration Terminal operation: vim ~/.vimrc The configuration is as follows: Set nocp "set compatible with set expandtab" set tabset shiftwidth = 4 "set the tab interval set tabstop = 4" four spaces

Vim syntax highlighting

After Vim is installed, if it is not highlighted, set it as follows:   1. If not ~ /. Vimrc, first create   $ VI ~ /. Vimrc   2. Switch to the insert mode and copy the following settings directly:     set autoindentset cindentset

Vim settings for displaying row numbers, syntax highlighting, and automatic indentation

In ubuntu, the vim configuration file is stored in the/etc/Vim directory. The configuration file name is vimrc. In fedora, the vim configuration file is stored in the/etc directory. The configuration file name is vimrc. Enter the following command

Vim sets the tab width

Http://blog.chinaunix.net/uid-346158-id-2131115.html In the work, it is suspected that the width of a tab in VIM is too large. In the Debian system, the width is 8 characters before it is changed. to change it to 4, see the following:Cd ~Vim.

Vim tips-Write Program comments

1. Import copyright information at the beginning of the file Copyright information usually needs to appear at the beginning of each source code file. This part of content is the same and there is no need to repeat the input. Even copying and

Vim programming environment settings memo

The following are the settings used for C/C ++ programming using vim and common operations. First, we need to cut the actual Vim image at work: 1. Display Settings Add the following to the vim configuration file/etc/vimrc: Set cindet # Set to C

How to Set automatic indent in VIM

Vim auto indent1. Configuration File LocationUnder the/etc/directory, there is a file named vimrc, which is a public Vim configuration file in the system and is valid for all users. In each user's home directory, you can create a private

Vim editor notes

Emacs said, I only need an editor, but you gave me an operating system. It is a hacker's editor. If I fail to make Emacs into an operating system, I need a pure editor. The following are common commands of the vim Editor: Insert mode: it refers to

Total Pages: 210 1 .... 160 161 162 163 164 .... 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.