From: http://blog.csdn.net/hnney/article/details/5892977
1. Screen
Create a. screenrc file under $ home /.
Add the following statements to the display window status in the last line:
Startup_message off
Hardstatus alwayslastline
Hardstatus
"Set for VIMSet nu "show numberSyntax onSet autoindent "indentSet Ts = 4 "use TabSet Sw = 4Set showmatchSet SiSet nocp
"Backup setIf has ("VMS ")Set nobackup "do not keep a backup file, use version insteadElseSet backup "Keep a backup fileEndif
"Set for VIMSet nu "show numberSyntax onSet autoindent "indentSet Ts = 4 "use TabSet Sw = 4Set showmatchSet SiSet nocp
"Backup setIf has ("VMS ")Set nobackup "do not keep a backup file, use version insteadElseSet backup "Keep a backup fileEndif
"Set for vimset nu" show numbersyntax onset autoindent "indentset Ts = 4" tabstop = 4 set Sw = 4 "shiftwidth = 4 set showmatchset siset nocp" Backup set "If has (" VMS ") "Set nobackup" do not keep a backup file, use version instead "else" set
Link: http://easwy.com/blog/archives/advanced-vim-skills-catalog/
A good article is collected here for your reference.
Vim practical technology, Part 1:
Practical Skills
Http://www.ibm.com/developerworks/cn/linux/l-tip-vim1/Vim practical
This is my summary of some basic usage, which may be helpful to new users. Lele is better than zlele, right!
Note: The following black colors provide common functions for VI and Vim, while the red color is specific to VIM (VI improved. Vim is
This version is applicable to Windows, Linux, and cygwin environments. The target audience is Vim beginners.
I wish you a pleasant start to release this version before the end of the November. ^-^
See the following link for the colored
VIM + taglist + ctags combinationOriginalHttp://vim-taglist.sourceforge.net/installation.html
Requirements:
1. Vim version 6.0 and later
[Root @ mylinux ~] # Vim-version
Vim-VI improved 6.3 (2004 June 7, compiled Dec 5 2004 06:16:10)
2. exuberant
Http://cache.baidu.com/C? M = drawing & P = ce6ed75d86cc42a407be9b7f475d & User = Baidu
Read the code in Linux -- Configure VIM + ctags+ Taglist + cscope [conversion]
References 1: http://www.lupaworld.com/home/space-131820-do-blog-id-118756.html2:
Neonlight@live.cn published, reproduced please indicate the source.
Common cmds:% Jump to matching brackets[[Jump to the beginning of the code block (but the '{' in the code block must be a separate line)GD jump to the definition of a local variable'
From: http://blog.csdn.net/easwyIt is used for personal learning. If you have any interests, please notify me and delete it in time.The help entry for the commands used in this section:: Help helptags: Help taglist.txtThe previous article describes
Solve the Problem of gvim menu display in Ubuntu 11.04Gvim menus cannot be displayed immediately when gvim is executed. And an error is reported:
** (Gvim: 15150): Warning **: unable to register window with path '/COM/canonical/menu/100': timeout
Vim advanced features + combined functions
This article describes some of the useful and commonly used commands. If you are familiar with these commands, you will find it quite comfortable to edit files.Note:In the following example, xxx indicates
Ex is Vim's support for row editor ed. ed is a line-oriented editor. in ancient times, in the age of black and white terminals, there was a popular row-oriented editor Ed, that is, reading files one row at a time, displaying only one row at a time,
Vim word highlightingSourceInsight supports word highlighting. I always think it is easier to read code. Today, I checked whether vim has related plug-ins. It is found that there are similar functions. Www.2cto.com
Http://www.vim.org/scripts/script.php? Script_id = 40
Its easy to start and stop DrawIt: use
\ Di to start DrawIt and\ Ds to stop DrawIt.
Supported Features move and draw left move and draw right, inserting lines/space as needed move and draw up,
1 screen
A install screen through ports
B $ screen
C $ vi file1.c
D CTRL + a c (hold down CTRL and a at the same time, release and then click c, the same as below) to create a new window
E $ vi file2.c
F move the cursor to the Starting Point
G CTRL +
When we use vim in windows, we often choose "Edit with Vim" from the context menu to open the file. However, files opened in this way will be opened in the new window, rather than in a new tab like Ultra Edit.
VIM 7.0 already supports tabs. How can
1. Start the vim Compiler
Vim filename open the original file or create a new file.
Vim open a new file and specify the file name during or after editing.
Vim-r filename restores the files that fail to save the final editing result in time due to
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.