vim里怎样高亮显示匹配的括号
-
- 帖子: 23
- 注册时间: 2007-10-30 13:00
- 来自: 北京
vim里怎样高亮显示匹配的括号
比如说两个大括号{ }
在正常模式下,光标移到第一个大括号时,自动高亮第二个大括号。
在正常模式下,光标移到第一个大括号时,自动高亮第二个大括号。
- kofshower
- 帖子: 1343
- 注册时间: 2007-03-13 11:23
- 联系:
设置showmatch
"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
-
- 帖子: 23
- 注册时间: 2007-10-30 13:00
- 来自: 北京
- solcomo
- 帖子: 2838
- 注册时间: 2007-04-25 13:12
- kofshower
- 帖子: 1343
- 注册时间: 2007-03-13 11:23
- 联系:
回头试一试,现在这个机子上居然没有shift键,囗囗囗囗
"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
-
- 帖子: 23
- 注册时间: 2007-10-30 13:00
- 来自: 北京
- kofshower
- 帖子: 1343
- 注册时间: 2007-03-13 11:23
- 联系:
我之前是用百分号,估计这种高亮要自动的话得自己写脚本函数了。xiaozhe2000 写了:syntax enable 只是语法加亮。
我这里试了一下,加了syntax enable 也不能高亮匹配的括号。
"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
- solcomo
- 帖子: 2838
- 注册时间: 2007-04-25 13:12
-
- 帖子: 23
- 注册时间: 2007-10-30 13:00
- 来自: 北京
- solcomo
- 帖子: 2838
- 注册时间: 2007-04-25 13:12
-
- 帖子: 23
- 注册时间: 2007-10-30 13:00
- 来自: 北京
- kofshower
- 帖子: 1343
- 注册时间: 2007-03-13 11:23
- 联系:
昏,都用7.1了~
我编译去
我编译去
"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
- kofshower
- 帖子: 1343
- 注册时间: 2007-03-13 11:23
- 联系:
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
"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
- solcomo
- 帖子: 2838
- 注册时间: 2007-04-25 13:12
...换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
♜♞♝♛♚♝♞♜
♟♟♟♟♟♟♟♟
♙♙♙♙♙♙♙♙
♖♘♗♕♔♗♘♖
☠☯⚔☣☦☃
☹☻☪☭☬⚖⚛⚜
ℜℳℬ™ ℋℯℓ℘ ℳℭ
sƂɐʍ рǀɹoʍ əɥʇ oS
♟♟♟♟♟♟♟♟
♙♙♙♙♙♙♙♙
♖♘♗♕♔♗♘♖
☠☯⚔☣☦☃
☹☻☪☭☬⚖⚛⚜
ℜℳℬ™ ℋℯℓ℘ ℳℭ
sƂɐʍ рǀɹoʍ əɥʇ oS