Common commands for Vim

The most common use of vim to edit a single file, see the source code. is to write a few K line of code when there are no other plug-ins, just set a highlight and some of the properties of their own. The advantage is that it can be used immediately

Three modes of the VIM editor

Vim650) this.width=650; "class=" Selectsearch-hide "id=" Selectsearch-icon "alt=" search "src=" http://img.baidu.com/img/ Iknow/qb/select-search.png "/> Editor can basically be divided into 3 modes, namely command mode, insert mode and bottom-line

Using Vim + Ctags

Usually in Linux or other *nix environments we use VIM as the Code editing tool, which is almost irreplaceable under the pure command terminal. It has a very powerful extension mechanism and is basically omnipotent in terms of text editing. However,

Linux---VIM command collection

Vim Command CollectionCommand HistoryCommands with: and/begin with a history, you can first type: or/Then press the up and down arrows to select a history command.start VimEnter the following command in the Command line windowVim starts vim

Vim Configuration Memo

First, the configuration platformSystem: Xubuntu 14.04.1 32-bitVim:vim 7.4Plugin management: Plug-in management with VundleScope of application: Mainly used for C programming Ii. preparatory work1. Install VIM-SYNTAX-GTK (highlight)sudo

The use of Linux vim

Vim and Emac are the most popular two text editing tools in the Linux world, focusing on learning one, tentatively using Vim as the Learning object. In this article, some basic operations will no longer be introduced, only the most commonly used

Automatic completion of parentheses and quotation marks in vim

Add the following content to the. vimrc file.Inoremap (() iinoremap [[]iinoremap {{}oautocmd Syntax Html,vim Inoremap & Lt >i| Inoremap > =closepair (' > ') inoremap) =closepair (') ') inoremap] =closepair ('] ') inoremap} =closebracket () inoremap "

ArchLinux youcompleteme VIM Auto-complete plug-in

ArchLinux the process of installing and configuring the Vim complement plug-in youcompleteme.Reference:Https://github.com/Valloric/YouCompleteMeHttps://github.com/gmarik/Vundle.vimHttp://www.cnblogs.com/zhongcq/p/3630047.html1. Download

Ubuntu configuration Vim supports Python programming

If Vim is not installed, use the following command to install:sudo apt-get install vimCreate the. Vim directory under the user directory, under which the bundle directory is created:mkdir. Vim\bundleInstall Bundle/vundle:git clone https://github.com/

Vim encoding settings (for conversion)

  The encoding in VIM is mainly related to three parameters: ENC (encoding), fenc (fileencoding), and fence (fileencodings) Fenc is the encoding of the current file, that is, a file that has been correctly displayed in VIM (the premise is that

Batch comment and uncomment under Vim

When debugging code, you can easily comment out or cancel code comments in batches. Many ides use shortcuts to comment out or uncomment selected code blocks in batches, how can this function be completed in Vim?Method 1 selection mode Batch

Vim editor Basics

Vim Editor Question 1: What is the difference between word processors in a text editor? The text editor only processes plain ASCII files. Nano (full screen editing), sed (line, command line) Question 2: What is Vi? VI: Visual Interface VIM: VI

Vim command set

Command Action Notes Vim file + 54 Open File and go to line 54 Any: command can be run using + on command line Vim-O file1 file2 Open file1 and file2 side by side   Insert Enter insert mode So you

Vim uses zhibei ---- learning the VI and VIM editors

Basic operations Edit File Vim [Options] [file...] Mode Open the file and enter the normal mode of VIM. You can use various commands to operate the text. Press the letter I to enter the insert mode. In this mode, all keyboard keys are normal

Vim shortcut key summary

First, paste a VI/Vim keyboard image found on the Internet. You don't need to remember this figure. You will learn it in the process of using it. At present, I am also exploring some of the shortcut keys that I often use. 1. when I look at code

Learn vi and vim Editor (4): fast moving location

Learn vi and vim Editor (4): fast moving location Generally, the first step to edit a text is to move the cursor to the desired location. Therefore, the speed of editing a text depends on the number of buttons required to move the cursor to the

Linux vim, vi editor basics, linuxvimvi Editor

Linux vim, vi editor basics, linuxvimvi Editor I didn't know why I had to learn vim and vi editors before. I just heard that this is important to linux. First, let's explain why I want to learn this editor and understand my book. The important work

Learn vi and vim editors (3): simple text editing (2), vivim

Learn vi and vim editors (3): simple text editing (2), vivim In the previous article, I will continue to explain some simple text editing commands in the vi editor. This article mainly involves commands such as text deletion, copying, and

[VIM] vim tips

[VIM] vim tipsThis series is the Reading Notes and summary of Practical Vim, which mainly includes the following aspects: 1. How VIM solves the problem-constructing repeated modifications 1.1 Basic operation unit-character, word, row, paragraph1.2.

Vim/Vi practical skills (version 2)

Vim/Vi practical skills (version 2)Vim/Vi Practical Skills 1. Import files : R [file name] # import to the currently edited File For example, r/etc/inittab The upper part of the file is the/etc/services file, and the lower part is the/etc/inittab

Total Pages: 210 1 .... 116 117 118 119 120 .... 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.