In VI/vim, you can use the: s command to replace the string.
: S/Vivian/sky/Replace the first Vivian in the current row with sky
: S/Vivian/sky/g replace all Vivian in the current row with sky
: N, $ S/Vivian/sky/Replace the first Vivian from
Go to] Notes for installing Vim on the AIX operating system
Http://blog.csdn.net/chinainvent/archive/2008/07/26/2716820.aspx
In my current jobSecurecrt, Log onIBMOfAIX UnixProgramming the operating system. The two servers used for
Vim is a powerful editor that supports plug-ins. whether your system is Linux, UNIX, Mac, or windows, you can select it to edit files or perform engineering-level coding. If we can use Vim well, not only can the programming efficiency be greatly
As the saying goes, "to do good things, you must first sharpen the tool." Good development tools can help us greatly improve development efficiency. I have been using Vim to write c ++ in Linux for some time. Here I want to share some of the vim
ArticleDirectory
Graphical cheat sheet
Graphical cheat sheet based tutorial
Notes
Learning VI or Vim is not easy. but it doesn' t have to be that difficult, either. it is, in any case, faster, more powerful, and more productive
In centos, only vim-minimal-7.x is installed by default. Therefore, whether you enter VI or Vim to view files, the syntax function cannot be enabled normally. Therefore, you need to install two other components with Yum: vim-common-7.x and
Automatic Configuration using scripts
Or this convenient, http://code.google.com/p/vimide/, 1 minute to get .... Recommended...
Http://code.google.com/p/vimide/
Self-asynchronous Configuration
Although it is slow, you can understand the
ArticleDirectory
1. Using Ctrl-x Ctrl-N to automatically complete word
2. CTRL-x Ctrl-L to automatically complete the line
3. the Ctrl-x Ctrl-F file name is automatically completed.
4. Thesaurus word completion
5. Use Ctrl-x
ArticleDirectory
Pathogen
Nerdtree
Command-T
Powerline
Common plug-ins
Vim has formed its own ecological environment because it has an open plug-in system. To improve development efficiency, developers have compiled tens of
ArticleDirectory
(1) vimrc Introduction
(2). Vim folder
Environment Configuration
"If you think Vim is just a text editor, you lose"-from Vim
Vim provides a variety of configuration functions in a simple way. The main
I think Vim is a powerful text editing software because it supports function expansion in the form of plug-ins (plugin. Many Vim enthusiasts write plug-ins to implement the required functions and customize their own vim. Vim supports the following
1 download: http://www.vim.org/scripts/script.php? Script_id = 1, 16432. decompress the package: Just drop the supertab. Vim file to the/usr/share/Vim/vim70/plugin folder.3. Help: supertab. Vim file header, and command ": supertabhelp"4 usage:In the
You need the required development packages on Ubuntu to build the GUI:
Sudo Apt - Get install libncurses5 - Dev libgnome2 - Dev libgnomeui - Dev \Libgtk2.0 - Dev libatk1.0 - Dev libbonoboui2 - Dev \Libcairo2 - Dev libx11 - Dev
One of the advantages of VIM is that the vast majority of vimmer plug-ins are selflessly dedicated, so that I am not familiar with vim scripts. This section describes some plug-ins and configurations that I have installed.ProgramNo text editing, no
VimCodeFoldYou can use the "foldmethod" option to set the vim code folding method, for example, set foldmethod = indent.
There are 6 Ways to collapse the code
1. Manual // manually define the folding2. indent // fold with indentation3. expr //
Run the vim command:
Vim filename: open or create a file and place the cursor at the beginning of the first line VIM + N filename: open the file and place the cursor at the beginning of line N VIM + filename: open the file and place the
I have learned some configuration items in Linux over the past two days. Now I will record the learning process for your convenience. I would like to thank my colleagues for their guidance ~.
System Environment: Linux Debian
I. Su, sudo
After Linux
Why use Vim?
1. He is a text editor, not IDE, so he is fast, light, and efficient.
2. Don't want to move the mouse because it is too far away from the keyboard.
3. Check out the hackers in the movie. Not all of them are hitting the keyboard. How
This tutorial describes some basic tips for using VIM in different working modes: insert mode, command mode, and file access. The goal is to help new users who have just been familiar with VIM use this excellent editor more efficiently.
(In this
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