A moment with vim, a moment with Emacs, the big artifact commands are all confused. For_wind
vimtutor Tutorial
Beginners must see OH.
VIM Tutor
most basic command
Insert: I
Save exit:: Wq
Do not save exit:: q! Ignore The basic concept of
Thank you for the article of the Ox. It solves the problem that I have a headache with vim. When VIM creates a new file, the sticky code is automatically indented, resulting in a very confusing format. According to Blogger's experience, in/etc/vim,
First remove the old vim.
1.sudo apt-get Remove vim /input re press TAB to display remove
2.sudo apt-get remove vim-runtime
3.sudo apt-get Remove Vim-tiny
4.sudo apt-get Remove Vim-common
Then download the VIM8 Source:
git clone https://
Http://zhwen.org/?p=articles/cscope-tags
The Linux source code provides make commands for making Cscope index files and tags files. First , the installation of software installation Cscope:
sudo apt-get install Cscope
In the installation ctags:
http:
Vim Plug-in list
Warehouse Address Basics
Plug-in
Use
gmarik/vundle, L9
package Management
the-nerd-tree
directory tree
Ctrlpvim/ctrlp.vim, Dyng/ctrlsf.vim
Quick
The IDE under Windows has some useful features, such as Sourceinsight Shift-f8 highlighting, ctrl-m viewing bookmarks, codeblocks F11 switching source and header files, quick code completion, source file Symbol window, Here are some plug-ins to
00 PrefaceLearning to program under Linux is the first thing to learn to use VIM, and to skillfully use vim can greatly improve the efficiency of writing code. is so-called AX, for this I refer to a few blog will be commonly used vim operation
You can undo one operation by pressing u in VIU undo the last step operationCtrl+r Redo the previous undo operationAttention:If you enter "U" two times and your text reverts to the original, it should be that your vim is configured in VI
Vim Copy and Paste QuestVim is one of the best text editors to use Vim to document, writing code is really a pleasant thing. Whenever you learn a new function of vim, it will greatly improve the efficiency. The use of vim for decades has not yet
Tag:%s line number Delete tabs ignore UNIX binary highlight cursor Gconf-editor#Configuration Editor/etc/vimrc#configuration file pathVim +24 File#to open a file to a specified lineVim File1 file2#Open multiple FilesVim-o2 file1 file2#Vertical
June 21 Task5.5 Entering edit mode5.6 VIM Command mode5.7 Vim PracticeExtendedSpecial usage of vim http://www.apelearn.com/bbs/thread-9334-1-1.htmlVim Common shortcut key summary http://www.apelearn.com/bbs/thread-407-1-1.htmlVim quickly deletes a
I believe that anyone who has been familiar with Linux must have used vim, a powerful text editor. As long as GCC is definitely used for writing C language in Linux, I haven't been familiar with Linux for a long time, but I think these two things
On Debian wheezy, a new user, Walter, is added. When using vim, Walter exits when editing text:
No Protocol specified no protocol specified
This is because the added user has the permission to read the $ Xauthority file.
Wolf @ wheezy :
After thinking about the editor for a while, I want to start preparing to write the program, so the debug schedule is raised. This is to build the vim-based PHP editing platform...
---------------------------------------------------------------------
Reference: http://huangbao.blog.51cto.com/725279/152665
1. About the text editor
There are a lot of text compilers in Linux and UNIX, but VI should be quite common. To tell the truth, I don't like it very much. I even found some colleagues use this
I recently used sublime text2, which is more beautiful than textmate, and has a consistent version on several platforms.
Sublime supports text editing using the vim mode. The Vim shortcut key is quite fast for editing text. It is nice to combine the
No matter how many files you have to edit, you can process them in vim. You can define a list of files to be edited, switch from one file to another, or copy and paste between different files.
A. Edit another fileB. File ListC. Switch to another
The following are the settings used for C/C ++ programming using vim and common operations.
First, we need to cut the actual Vim image at work:
1. Display Settings
Add the following to the vim configuration file/etc/vimrc:
Set cindet # Set to C
VI usage and operations
Before introducing how to use VI, it is important to understand that VI has two basic modes. The two basic modes are input mode and instruction mode. In the input mode, the text is displayed on the screen. In the command
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