Vim's Versions and Features

本文详细介绍了Vim编辑器的各种特性及如何通过配置选项来选择启用或禁用这些特性。包括语法高亮、代码折叠等高级功能,以及如何根据不同的操作系统和使用需求进行定制。
 


There are a lot of features available in Vim! Just bring up your vim and do a :version; you'll probably see quite a few. How do these features get selected? Well, some options are (de-)selected based on the type of operating system you have, and some are (de-)selected based on whether or not you want a gui (ie. gvim). You may choose which options using the config script:

example: configure --enable-cscope --with-features=huge

The --with-features selector can take several words (tiny, small, normal, big, or huge). This feature selector's effect is shown in the table below. With a bit more effort you could tailor some features in or out by modifying <auto/config.h> by hand, although some features do need others to work right.

Vim Features Table

+/- Version Configure Option T S N B H Only on
ARP      Amiga
X11--with-x  ***MAG*
autocmd   *** 
balloon_eval      Athena Motif
browse   *** 
builtin_terms       
byte_offset   *** 
cindent   *** 
cmdline_compl   *** 
cmdline_hist  **** 
cmdline_info   *** 
comments   *** 
cryptv   *** 
cscope--enable-cscope   **Unix
dialog_con_gui   *** 
diff   *** 
digraphs   *** 
ebcdic       
emacs_tags    ** 
eval   *** 
ex_extra   *** 
extra_search   *** 
farsi    ** 
file_in_path   *** 
find_in_path   *** 
folding   *** 
footer      Motif
fork()      Unix
gettext   ***L*
hangul_input--enable-hangulinput      
insert_expand   *** 
jumplist  **** 
keymap    ** 
langmap    ** 
libcall      Win32,Unix,VMS
linebreak   *** 
lispindent   *** 
listcmds  **** 
localmap   *** 
menu   *** 
mksession   *** 
modify_fname   *** 
mouse   *** 
mouse_dec    ** 
mouse_gpm--disable-gpm  *** 
mouse_jsbterm      Jsbterm mouse
mouse_netterm    ** 
mouse_xterm   ***Unix
mouseshape   *** 
multi_byte--enable-multibyte   ** 
multi_lang   *** 
osfiletype       
path_extra   *** 
perl--enable-perlinterp      
printer   *   
python--enable-pythoninterp      
quickfix   *** 
rightleft    ** 
ruby--enable-rubyinterp      
scrollbind   *** 
signs    **or SunWorkshop
smartindent   *** 
sniff--enable-sniff      
statusline   *** 
sun_workshop--enable-workshop      
syntax   *** 
system      Unix&!Gui
tag_any_white       
tag_binary   *** 
tag_old_static   *** 
terminfo *****(if needed)
termresponse   *** 
textobjects   *** 
tgetent *****(if needed)
title   ***not MSDOS
toolbar   ***Gui only
user_commands   *** 
vertsplit  **** 
viminfo   *** 
virtualedit   *** 
visual  **** 
visualextra   *** 
wildignore   *** 
wildmenu   *** 
windows  **** 
writebackup *****not VMS
xfontset--enable-fontset      
xim--enable-xim      
xterm_clipboard *****Unix & Gui
xterm_save       

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值