Vim is a powerful text editor. A good configuration facilitates the use of vim. Sometimes, we use VIM on several different computers. For example, we may have vim installed on both our own computers and our company's computers. Sometimes, we need to implement, if we configure one of the
A more comprehensive introduction of vim (for example)
Http://www.cnblogs.com/dubing/archive/2011/12/16/2290421.html
Http://blog.csdn.net/sabalol/article/details/3426635
Http://hi.baidu.com/howard1980/blog/item/3399e42668751b0a908f9d5f.html
Previous review
The previous section describes the basic environment configuration of C Programming in linux and the selection of related tools.
But we can use vim for
Sprout new note-vim command "=", "d", and "y" usage (combined with the cursor movement command, it will be very convenient in some cases), vim is very convenient
Vim has many commands. on the Internet, you can search for a bunch of posts and articles to list commands for various functions.
For "=", "d", and "y", I accidentally discovered some of the same usage.
I. VIM's editing modeSecond, vim command modeThird, VIM practice operation# Cp/etc/dnsmasq.conf/tmp/1.txt (1) Move Down, right, left, and up 6 characters (6j 6l 6h 6k) respectively. (2) turn down and up two pages (two times ctrl+f and Ctrl+b respectively). The (3) Moves the cursor to line 49th (49G). (4) Move the cursor to the end of the line, and then move to the beginning (Shift+4, shift+6). (5) moves
" in the file and count the number of occurrences of the string (/dnsmsq then press N).(8) Replace the DNSMASQ from line 1th to line 10th with DNS (: 1,10s/dnsmasq/dns/g).(9) Restore the previous action (U).(10) Replace all the etc in the entire file with a CTE (: 1, $s/etc/cte/g).(11) Move the cursor to line 25th, delete the string "ly" (25G then press L to move the cursor to the right to find "ly", press V to select, and press X).(12) Restore the previous action (U).(13) Delete line 50th (50G
Vim configuration, vim configuration file
1. background description:
The vim editor is a popular and powerful text editor in linux. Configuring vim can greatly improve code development efficiency.
2. configuration scheme:
I searched on github for how others configured vim. H
Vim and vim
The following article is translated from "Learn Vim Progressively". I think this is the best VIM Upgrade tutorial for beginners. I did not list all the commands, but just listed the most useful commands. Very good.
---------- The text starts ----------
Do you want to learn
Vim by default is to edit all files in one window, and only one buffer is displayed when moving between files or moving to different parts of a file. However, Vim also provides multi-window editing to simplify composite editing tasks. This article will learn how to use multiple windows in a running vim process, including initialization and startup of multi-window
window under the use of VIM to do PHP development environment (although I have been under Ubuntu with VIM) ...
Although Vim is essentially an editor. But with some appropriate plugins, VIM can become a full-featured IDE. I have been using vim for a long time, after repeated
Vim command collection and vim collectionCommand history
Commands starting with ":" and "/" have historical records. You can first type ":" or "/" and then press the up or down arrow to select a historical command.Start vim
Enter the following command in the command line window:
Vim directly starts
Vim color scheme settings (Change vim color scheme) (1) After vim is installed, run the command whereis vim and you will see the returned result: vim: /usr/bin/vim/usr/share/man/man1/vim
Vi and vim Editor (16): vim's Multi-Window Function (1)
By default, vim edits all files in a window. Only one buffer zone is displayed when files are moved or moved to different parts of the file. However, vim also provides multi-window editing to simplify the composite editing tasks. This article will learn how to use multiple windows in a running
Vim commands and vim commands
1. About Vim
Vim is my favorite editor and the second most powerful editor in Linux. Although emacs is recognized as the world's No. 1, I think it is more efficient to use emacs without using vi for editing. If you are a beginner, running vimtutor is a smart decision. (If your system envir
This is a creation in
Article, where the information may have evolved or changed.
2014-11-09 WCDJ
Summary : Previously summarized in SUBL using Golang, "Golang and Sublime Text 2 mac OS X 10.8.4 Development Environment Installation". In fact, Golang's installation package already contains support for VIM writing plug-ins, configuration method is very simple, can refer to the "Golang gvim/vim configuration"
Use the vim editor and the vim editor.
I. Introduction
1. vim is a powerful text editor. If you are familiar with it, it will effectively help us improve the efficiency of editing text and programs. The vim editor has a relatively high threshold for getting started. Many people are reluctant to remember many commands,
1. Upgrade VimMy own MacBook Pro system is still 10.11, with its own vim version of 7.3, which we upgraded to the latest version:Using homebrew:Install vim--with-lua--with-override-system-vimThis will download the latest VIM version and replace the Vim that comes with the system.Restart the terminal after installation,
Introduction to VIM ModeThe following introductory content is from the Wikipedia vimThere are many modes of vim from VI, this unique design is easy to confuse the beginner. Almost all editors have two modes of inserting and executing commands, and most editors use a different approach to vim: the command directory (mouse or keyboard driver), the combination of ke
Talk Vim together (22nd back: Vim finale), talkvim
Hello, everyone. You are welcome to join in to hear the story of Zhang huiti: Vim. The last time we introduced the NerdTree in Vim
Plug-in .. In this case, we will not introduce the new Vim plug-in. However, we will do o
/plugin/gzip. vim 16:/usr/local/share/vim/vim73/plugin/matchparen. vim 17:/usr/local/share/vim/vim73/plugin/netrwPlugin. vim 18:/usr/local/share/vim/vim73/plugin/rrhelper. vim 19:/usr/l
This is a creation in
Article, where the information may have evolved or changed.
In two steps:
First step: Install the Vim plugin manager vundle
Step Two: Install the Vim-go plugin.
In addition: I have also written an automatic installation of the script. Lazy friend, you can download it by yourself: https://github.com/aimin/InstallvimGo.git
-----------------------------------------------------------------
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.