Recently I used two plug-ins, xptemplate and neocomplcache, to make Vim easier to use. In the past, when using autocomplpop, I thought it was not bad because the speed was very slow and I reported an error from time to time. Now I 've changed the
In VI/vim, copy and use "Y" and delete with "D". What about the clipboard? The clipboard is deleted and then pasted. The original deletion is not a real deletion, but a buffer.
Copy1. In "YY" editing mode, copy the content of the row where the
Gvim is smaller than Emacs and is suitable for programming. The latter has full functions, many plug-ins are loaded, and the startup is slower. Individual gvim is sufficient.
Vim can edit a variety of character encoding files, including UCS-2, UTF-
: Edit otherfilename "edit another file, but you need to save the original file in advance"
: Hide edit otherfilename "edit another file, you do not need to save the original file in advance"
Vim one. C Two. c Three. c "specifies multiple files
The nerd_tree plug-in can list the file tree structures under the directory. It is convenient to switch between different folders when reading the source code.
On the official website http://www.vim.org/scripts/script.php? Script_id = 1658 download
I think Vim is quite good. I don't need to use the arrow keys. Basically, I don't need to move my hands. I just need to move my fingers.
1, but one thing is thatProgramUsually, it is a pair write () or {}. After the pair is written, return to the
Vim is the god of the editor. Needless to say, the more you use it, the more powerful and convenient Vim is. However, it is powerful based on a combination of many plug-ins, and VIM itself lacks effective management of plug-ins. it is inconvenient
I used to change it in windows and Ubuntu systems all the time. Every time I use Ubuntu systems, it will not take a long time. One major reason is that I cannot find an IDE suitable for my programming in Ubuntu, I have used code: blocks and anjuta,
It took a long time last night and was modified based on the ielflord color scheme of vim.
The terminal display is modified, and the color is changed .. However, you need to set the color to 256 before the change. The specific settings are Baidu
Install it in Windows:1. Download from www.vim.orgTaglist_45.zip. After decompression, there are two files Doc and plugin. Copy these two files to the install directory Doc and plugin of vim.2. Open Vim: Helptags $ (home)/doc: Help taglistThen you
The font is nice
G is Vim jump to the last line. gg jump to the top line.
Copy a row: yy P
Copy multiple rows: 1, 4 copy 6
Save command: savees D: 1.txt: %! Xxd ----> switch to hexadecimal display: %! Xxd-r ----> display by text Switch
Chinese
A Vim file can be opened in hexadecimal notation
The edited hello. c
$ Arm-Linux-GCC hello. C-O hello
$ Arm-Linux-readelf-s hello
The offset of the. rodata segment is 4d0.$ Vim-B Hello //-B Indicates special protection for opening a binary
1) Why can't other people's methods work for me?
(2) how to find the last edited file?
(3) how to copy and paste it?
(4) how to replace multiple files?
(5) how to open all fold once?
(6) how to select or copy the word where the cursor is located?
(7)
1, in ~ /. Add the following to vimrc:"For colorscheme. Added by albcamusIf has ("gui_running ")"Colorscheme default" It doesn' t matter whether you comment this or not:ElseColorscheme desert "I 'd like to use modified desert scheme instead"Of the
1. Install VimSudo apt-Get install Vim
2. you can create your own configuration file in the home directory.Switch to the Home Directory # Cd ~Touch a file named. vimrc (hidden file starting)# Touch. vimrc# Vi. vimrcEnter the following
Vim settings code folding
Source: chinaunix blog Date: 2008.08.29 (comments in total)I want to comment
When viewing the Code, if the code is very lengthy, especially
Set the vim syntax highlight and auto indent of centos. Use your own installation and summarize the following:
1. The configuration file is located under the/etc/directory, and there is a file named vimrc, which is a public Vim configuration file in
1. Add the Edit with vim option. Each file opens a new window. Create a reg file with the following code:
Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT/*/Shell/edit with vim]@="edit with vim"[HKEY_CLASSES_ROOT/*/Shell/edit with vim/
Author: Jiqing wuemail: homepage: http: // hi.baidu.com/jiqing0925create:2011-01-09update:2011-01-09readers: students who often use computers to process tokens and Programming
Directory
1.3 Vim is not just vi
How to configure vim in cygwin:
1) enter the cygwin environment and execute the following command to copy the vim configuration file.$ Cp/usr/share/vim/vim71/vimrc_example.vim ~ /. Vimrc
2) Modify. vimrc$ Cd ~$ Vi. vimrc
3) I am used to the
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