ArticleDirectory
Replace the _ vimrc file in the installation directory with the following code:
Replace the _ vimrc file in the installation directory with the following
Code You can:
Set nocompatiblesource $
1 download: http://www.vim.org/scripts/script.php? Script_id = 1, 10262. decompress the file visualmark. Vim to the/usr/share/Vim/vim70/plugin folder.3. Help;4 usage:
This "bookmark" has a major disadvantage: invisible.The visual mark plug-in I
Anyone who has experience using and configuring Vim knows that Vim can be comparable to ide after configuration ~
However, it is also very troublesome to configure Vim. Many times, when we need to change the system or back up data to other
Lookupfile is indeed an unparalleled file search plug-in, but one problem has not been solved. After the query window is called up, enter the file name. After several matching files are found, you can only press Ctrl-N to move up and down. If I
In the past two days, wxpython routines have to be written repeatedly every time files are created.CodeSo I thought about whether a template exists. I can directly insert it into. Google, which is easy to solve. For example, the following is the
Sometimes when a file is uploaded to a Linux server, only one line is displayed after it is opened with vim, and "^ m" is displayed in the place where the original file is wrapped. There are many solutions to this problem, here I will introduce a
From: http://www.pizn.net/19-03-2011/vim-in-firefox/
After programming, you may get used to manipulating any one-key on the keyboard to meet our needs. For example, you can use ESC to switch the command mode and insert mode. When I want to become
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
1. VI Operation ModeVI provides two operation modes: input mode (Insert mode) And command mode (Command mode). In input mode, you can enter text. In command mode, you can perform various editing actions, such as deletion and modification.
In input
1. Use the * Key to search for words at the cursor position. Otherwise, you can use the # key to search for words at the cursor position forward. After you use * or # For the first search, you can use N or shift-N to continue the search.In addition,
(After vimtuor, continue to take the learning notes. Next, follow the help document to complete the exercises and integrate GDB)
Vimrc configurations of Vim are mainly used in C/C ++."""""""""""""""""""""""""""""""""""""""" """"""""""""""""""""""
Download link taglist_45 ctags-5.7.tar vimcdoc-1.6.0 (taglist ctags Vim Help)
1. ctags:
Download ctags-5.7.tag.gz
Tar xzvf ctags-5.7.tag.gz
CD ctags-5.6
./Configure
Make
Sudo make install
The directories may be different during
In a Linux environment, if you directly use the VI/Vim command to edit files without modification permissions, you will be prompted not to save the files, the general solution is to close the file and re-open the file with the sudo
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
# Apt-Get install Vim to install Vim in Ubuntu
Display the row number, highlight, and so on:
In ubuntu, the vim configuration file is stored in the/etc/Vim directory. The configuration file name is vimrc.
Enter the following command on the
I have introduced some Vim plug-ins before. There are two plug-ins that are convenient for iOS writing.Program, That is, cocoa and objc_matchbracket (hereinafter referred to as objc_mb ). The cocoa plug-in is mainly used to complete the API name of
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 //
In vim, I introduced the concept of mode in vim and how to move the cursor in VIM in multiple ways. This section describes copying, cutting, pasting, undo/Redo, and search operations. Let's get started!
1. Copy, cut and paste
Copy, cut, and paste
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
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