Could not exclude T in Vim Taglist
I have the following code in .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
The team does what it has to do. However, the command also gives me an error when starting Vim
No mapping found
No mapping found
How can you remove the keyboard shortcut so that you don't get the Taglist message, but you can still use the default "T" for viewing in Dvorak?
+1
a source to share
1 answer
Delete it. I am not using taglist, but the example you gave in your post does nothing. Something is supposed to match something, but the right side is missing, i.e. Something should map to "t" and "Ct", but something is undefined.
Or you can do this:
:silent nnoremap <buffer> <silent> t (and analoguous for the second line)
(display remains, but no message appears)
+1
a source to share