Question

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 command does what it should do. However, the command gives also me the following error at Vim's startup

No mapping found
No mapping found

How can you eliminate the keyboard shortcut, such that you do not get the message in Taglist but you can still use the default "T" for browsing up in Dvorak?

Was it helpful?

Solution

Delete it. I don't use taglist, but the example you gave in your post does nothing. It is supposed to map something to something, but the right side is missing, i.e. something is supposed to being mapped to "t" and "C-t", but that something isn't defined.

Or, you can do this:

:silent nnoremap <buffer> <silent> t (and analoguous for the second line)

(mapping stays but the message will not be displayed)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top