如何在ViM中禁用匹配括号的自动突出显示(光标短暂跳转到匹配的括号,当插入新的括号时)?
当我在我早期的公司遇到这个问题时,我能够通过在我的下面添加以下内容来解决它 .vimrc
let loaded_matchparen = 1
Run Code Online (Sandbox Code Playgroud)
现在在我的新公司,我面临同样的问题.但是现在这个问题并没有在我的上线中出现.vimrc.
我尝试添加NoMatchParen到我的.vimrc,我在打开ViM时遇到以下错误:
Error detected while processing <...>/.vimrc:
E492: Not an editor command: NoMatchParen
Run Code Online (Sandbox Code Playgroud)
PL.让我知道解决这个恼人问题的方法.
FYR,我的输出$ vim --version:
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Feb 11 2012 21:05:37)
Compiled by rvictor@depbldrh61
Huge version with GTK2 GUI. Features included (+) or not (-):
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con_gui +diff
+digraphs +dnd -ebcdic …Run Code Online (Sandbox Code Playgroud) 我想要这样的东西
if (command_not_exists) exit
有人可以告诉我如何在cshell脚本中实现此功能吗?