Vim Learning Notes

1, VIM Tutor enter--into the VIM tutorial Study 2, VIM filename return--Into the Vim editor 3, : q! Enter--Exit the Vim editor to save, then: Wq4, i--Normal mode, inserts text at the cursor position, into the text insertion state. return to normal

VIM Powerful replication link

Reference: http://blog.csdn.net/xiyuan1999/article/details/5680102It is necessary to copy and paste entire lines (multiple lines) in the VI editor.1. Copy1) Single-line copyIn command mode, move the cursor to the line that will be copied, and press "

The Linux vi/vim command

The VI command is an essential editor tool in Linux. So what is the difference between VI and VIM, can be simply understood as VIM is the upgrade version of VI. When editing a text, vi does not display a color, and vim displays the color. Display

Some of Vi-vim's forgotten points

1. VI is divided into three modes: General mode, edit mode and command line mode. I/esc +: wq:q: q! Enables VI to be converted back and forth in general mode and edit mode. /word down looking for a string named word; Word looks up for a

Vim Command Detailed

Command Simple description : W Saves the edited file content, but does not exit the Vim editor. The purpose of this command is to write the data in the memory buffer into the file specified when Vim is started. :

Vim Full Tutorial

First, Introduction There are only three types of editors in the world, EMACS, Vim, and others. The times we are in are very fortunate, with more and more editors, compared to the old vim and Emacs, they are called modern editors. Let's take a look

The repetition of the basic learning of VIM

Repeat command.: This command can repeat the previous operation. For example, you perform a DD operation, and then. It will delete the forwardThere is also a single operation between the changes from Insert mode to exit Insert mode. For example,

Make Vim an IDE

Making vim an IDE was an exiting thing. Conside following configuration files: . VIMRC: ~/.VIMRC Winmanager.vim: ~/.vim/bundle/winmanager/plugin/winmanager.vim . VIMRCMy. VIMRC is as follows:Set nocompatible ' be improved,

Vim's Long March path

Before the system to learn vim, the first to find some tutorials on the internet to understand, because first we have to use VIM, and then in the system of learning process constantly enrich their understanding of vim.--------------------------------

In use of Vim plugin

The-nerd-tree Https://github.com/vim-scripts/The-NERD-treeIn Vim can also have a directory tree, if you want to open the current folder under the other files can also be very convenient to find. Here are some common shortcut keys:Q Close the Display

Vim syntax coloring fully configured

Original address: http://blog.sina.com.cn/s/blog_878940b3010156ku.htmlIn terminal input: sudo VIM/ETC/VIM/VIMRC open the configuration file.Edit command:Set ShowCmd "Show (partial) command in the status line.Set Showmatch "Show matching brackets.Set

1.5 VIM Command mode

#显示行号Set Nu#取消行号Set Nonu#查找Vi/etc/init.d/iptables/iptables#查找并替换1,20s/iptables/iptables/g G is a global substitution and cannot be replaced globally without g1, $s/iptables/iptables/g $ is a full file%s/iptables/iptables/g% is a full file, replacing

Vim Color Scheme

Molokai Color Scheme for VimI prefer Molokai ' s dark grey background. Installation with pathogen CD ~/.vim/bundle && \git clone https://github.com/tomasr/molokai.git Now Molokai is installed. Add the following to your VIMRC.

Vim General Command Summary

Vim is not a long time to use, but it is now inseparable from the familiar vim editing mode. Vim's learning curve is very steep, at the beginning of learning, the face of a lot of operational commands to remember, often deterred.In fact, just

Linux under Vi/vim Use notes

Linux under Vi/vim use notesStart and close vimVI OpenVi/vimOpen Vi/vim and load file VI ZQ Unconditional Exit: q! Unconditional exitZZ Disk and exit: Wq Disk and exitThree modes of the VIM Editor: General mode, edit mode, and command line modeYou

Vim Command Collection

Command 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 directlyVim filename opens vim

Vim Editor Add plugin Nerdtree

0x01First download the plugin in http://www.vim.org/scripts/script.php?script_id=1658 (may need to ladder, also can be in https://github.com/scrooloose/nerdtree. Download)0x02Installation is simple simply unzip the zip package to move the required

Vim Editor Detailed

Vim is the enhanced version of VI, one of the important philosophical ideas of Linux is all files, and the majority of configuration files on the system are saved with a text file, so mastering a powerful, easy-to-use text editor for Linux system

Brisk VIM (iii) Delete

In this section we take a look at the delete, delete command is relatively simple, but to make the deletion more efficientYou need to match the various move commands we've talked about in the first section.Character deletionx Delete the

Vim: error while loading shared libraries:/usr/lib/libgpm. s

Vim: error while loading shared libraries:/usr/lib/libgpm. s [Root @ localhost etc] # vim my. cnfVim: error while loading shared libraries:/usr/lib/libgpm. so.2: file too short[Root @ localhost etc] #See the figure, get it, or report an error. Run

Total Pages: 210 1 .... 183 184 185 186 187 .... 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.