vim里怎样高亮显示匹配的括号
发表于 : 2008-07-24 17:12
比如说两个大括号{ }
在正常模式下,光标移到第一个大括号时,自动高亮第二个大括号。
在正常模式下,光标移到第一个大括号时,自动高亮第二个大括号。
我之前是用百分号,估计这种高亮要自动的话得自己写脚本函数了。xiaozhe2000 写了:syntax enable 只是语法加亮。
我这里试了一下,加了syntax enable 也不能高亮匹配的括号。
archlinux?我感觉系统带的vim是这个:solcomo 写了:User:~>vim --version
VIM - Vi IMproved 7.1 (2007 May 12, compiled Jun 26 2008 12:58:25)
...换8.10源升级了几个软件kofshower 写了:archlinux?我感觉系统带的vim是这个:solcomo 写了:User:~>vim --version
VIM - Vi IMproved 7.1 (2007 May 12, compiled Jun 26 2008 12:58:25)
VIM - Vi IMproved 7.1 (2007 May 12, compiled Jan 31 2008 12:00:11)
Patch: 1-138
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+cryptv +cscope +cursorshape +dialog_con_gui +diff +digraphs +dnd -ebcdic
+emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path +find_in_path
+folding -footer +fork() +gettext -hangul_input +iconv +insert_expand +jumplist
+keymap +langmap +libcall +linebreak +lispindent +listcmds +localmap +menu
+mksession +modify_fname +mouse +mouseshape +mouse_dec +mouse_gpm
-mouse_jsbterm +mouse_netterm +mouse_xterm +multi_byte +multi_lang -mzscheme
+netbeans_intg -osfiletype +path_extra +perl +postscript +printer +profile
+python +quickfix +reltime +rightleft +ruby +scrollbind +signs +smartindent
-sniff +statusline -sun_workshop +syntax +tag_binary +tag_old_static
-tag_any_white -tcl +terminfo +termresponse +textobjects +title +toolbar
+user_commands +vertsplit +virtualedit +visual +visualextra +viminfo +vreplace
+wildignore +wildmenu +windows +writebackup +X11 -xfontset +xim +xsmp_interact
+xterm_clipboard -xterm_save