我在.vimrc中有以下代码
" to eliminate the effect of the line 1560 in taglist.vim
if v:version >= 700
nnoremap <buffer> <silent> t
\
nnoremap <buffer> <silent> <C-t>
\
endif该命令执行它应该做的事情。但是,在Vim启动时,该命令也给出了以下错误
No mapping found
No mapping found如何消除键盘快捷方式,使您无法在Taglist中获得消息,但仍然可以在Dvorak中使用默认的"T“来浏览?
发布于 2009-05-09 19:03:58
把它删掉。我不使用taglist,但是你在帖子中给出的例子没有用。它被认为是映射到某物,但右侧是缺失的,即某物应该被映射到"t“和"C-t",但这个东西没有被定义。
或者,你可以这样做:
:silent nnoremap <buffer> <silent> t (and analoguous for the second line)(映射保持不变,但不会显示消息)
https://stackoverflow.com/questions/843699
复制相似问题