temporarily.Enter the command Sh.4. execute shell commands in VI.Enter :! CMD, for example :! Ls.
Practical Tips: Set syntax highlighting in the vim Editor
If you want Vim to enable the support for syntax highlighting by default (only in terminals that support colors), edit (implemented in Ubuntu 7.10 amd version, most of the time, you only need to use sudo apt-
. Although this is the basic function of IDE, I haven't seen the plug-in Vim to achieve EasyGrep. You can choose whether to replace the current match. If you find that the current match is incorrect, you can cancel all replications with a single command.
Is the configuration interface of EasyGrep.
For more Vim tutorials, see the following:
Build VIM into a simple
"To do well, you must first sharpen your tools"
-----Analects of Confucius
Read the source code tool Vim in Linux.
Xbw 2009-03-19
Many Linux software development programs run without X Windows, so many graphical code reading software cannot be used. In this case, the available editors are vim, emacs, and gedit.
We recommend that you use Vim. Google to learn a la
Vim is a text editing tool, so you don't have to remember everything when you're learning, as long as you work more efficiently with vim. This article summarizes the operation method of vim from the practical point of view, hoping that after reading this article, the reader can reach the general text editing speed.VI i
Differences between vimgs replace and global commands are one of Vim's most powerful commands (I think it is No. 1). If you are familiar with them, you can get twice the result with half the effort. This article summarizes some classic problems of the version, based on your own usage and understanding, I try to introduce its usage in detail through the instance. The examples are difficult. Some examples are not practical and are generated for the ques
press Shift-n to look in the opposite direction for the string where it is located.3. If the current position of the cursor is parentheses (,), [,], {,}, press% to move the cursor to the pairedThe parentheses.4. Replace the first string in a line with old as the new string, enter: S/old/newReplace all of the strings in a row with old as the new string, please enter: s/old/new/gReplace all the strings in the two lines with old for the new string, enter: #, #s/old/new/gReplace all the strings in
It is particularly worth mentioning that the 3R6Linux alliance has many points worth learning. Here we will mainly introduce 3R6Linux Alliance, including 3R6Linux alliance. In fact, this combination is very practical and basically comes to the source insight realm without a mouse, the most important platform that can run 3R6Linux in text mode is the Fedora 8 3R6Linux Alliance Vim and Ctags. After F8 is inst
shell scripts. Press F8 to debug C and C ++ code.
2. the file header is automatically inserted. When a C and C ++ source file is created, the header is automatically inserted, including the file name, author, contact information, and creation time. You can change the header as needed.
3. Map "Ctrl + A" to select all and copy the shortcut keys to facilitate code copying.
4. Press F2 to directly eliminate empty lines in the code
5. "F3" can list the current directory file and open the tree file d
directly with p. You need to use" 0 p to specify the register 0, because "0" only stores the content saved by the y command.
3. delete a special register ("1-" 9)The content deleted through the d or c command will be saved in the nine registers "1-" 9.The latest deleted content will be in "1, and the other will be postponed.For example:Delete current row (yy)Delete current row (yy)To copy the row deleted for the first time, "2 p
4. Name Register ("a-" z)You can put important content in the Name
introduction to the top 10 plug-ins of Vim with IDE features.
Build VIM into a simple and practical IDE
Vim Learning Guide
Quick learn Vi Editor
Powerful Vim Editor
Build a Vim Development Environment on CentOS 6.2
Install the hi
numbers VIM Text Editor The most classical and practical antiquity artifact If you are an IT person who needs or will be dealing with a Linux system, then learning how to work with Vim will definitely make your job a breeze!! Because many times, Linux as a server does not open the graphical interface, when the need for remote operation, you can only u
Chapter Description :This section will teach you how to use the Vim editor to write documents , configure host names , network card parameters , and the Yum repository , and be familiar with the various modes and command shortcuts.We can finally write a simple and practical shell script by placing the Linux command into the appropriatelogical teststatement (if, for, while, case) through the
# Step 1
Summary of v I m tutorial (version 1.5)
(Note: This article is only a personal study summary. We recommend that you start this tutorial. You only need to enter the command $ vimtutor in VI)
Vim is a powerful editor with many commands. Limited space, in this tutorialI will not go into details. The purpose of this tutorial is to describe some necessary basic commands.Some commands, you can easily use Vim
As a program ape under Linux, if you don't know how to use vim, it's not really a program ape (if not in a graphical interface). But Vim is the kind of steep learning curve tool, only you really long time to learn the command of vim you can really understand, let Vim called God's editor.This article is mainly to summar
by index in tags file.
Run vim in the directory where the tags file resides open the source file. C or. h
A. Move the cursor to the position of the variable or function you want to view, CTRL can jump to the position defined by the variable or function, Ctrl o return.
B. The cursor stops where the header file refers, press the GF key to jump to the header file, Ctrl o return
C. Place the cursor in the position of the function or variable, GD will hig
For example, to decompress/tmp/tools1.2 to the terminal and switch to the directory to be decompressed. For example, to decompress it to the/root/tools directory, perform the following operations: # cd/roo
1. vim Upgrade Method
1.1 download the new vim installation package and Language Pack
Download the corresponding version from www.vim.org on the vim official w
This article describes how to use the plug-in management tool Vundle to build a vim development environment in an UBUNTU environment to improve the efficiency of using VIM for programming under Linux. Install Vim
Installing Vim on Ubuntu is simple, typing the following command at the terminal:
$ sudo apt-get install
Vim configuration in Ubuntu 15.04
System: Ubuntu 15.04, vim7.4, curl, git
1. Install the vim configuration of spf13. Http://vim.spf13.com/#vimrc
$ Curl https://j.mp/spf13-vim3-L> spf13-vim.sh sh spf13-vim.sh
2. Change the color.
$ Echo "colo pride" >> ~ /. Vimrc. local
Color list, * for my favorite:
# Gray backgroundPride *Badwolf *Inori *Jelleybeans *GruvboxHybrid_materialJellybeansKellysKkrubyMaui
Original StateI've watched the violinist play a very passionate chord, and I have this idea: maybe the number of brain cells I put into a text editor is almost as good as the way he plays for the instruments he likes. I also have a strange imagination, when he solo, the brain of the MRI and I am using Vim to manipulate the code of the image may not be too much difference?
If you want to, please think carefully, here is a vimmer learning journey
The Nerdtree installation method circulated online is not very practical, because nerdtree is dependent on the pathogen plugin manager. If you do not install pathogen, the direct installation nerdtree is a statement of the function of the error pathogen
Let's first introduce the plugin--pathogen for managing Plug-ins. Download Address
Project Address Https://github.com/tpope/vim-pathogenOfficial website htt
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.