Hi,

On 7 September 2011 04:44, Ben Fritz <[email protected]> wrote:
> Here's a more complete script, but I haven't tested it either:
>
>          nnoremap! <Ctrl-]> :call <SID>SmartTagSearch()<CR>

Vim seemingly doesn't like this line.  In adding your example and
sourcing it in Vim, I see:

Error detected while processing /tmp/foo.vim:
line    1:
E477: No ! allowed: nnoremap! <Ctrl-]> :call <SID>SmartTagSearch()<CR>
line   17:
E477: No ! allowed: nnoremap! <Ctrl-T> :call <SID>SmartTagReturn()<CR>

So I removed the "!" from the nnoremap command, and that got rid of
those messages but then never calls  SmartTag{Search,Return}() -- any
ideas?

Seemingly also, Vim doesn't like this line:

let g:last_tag_file = []

It seems to take exception to "[]" -- changing it to the empty string
"", seems to work, but again, I'm clutching at straws knowing nothing
about Vimscript.

For reference:

VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Aug 15 2011 10:46:03)
Included patches: 1-280
Modified by [email protected]

(Running on Debian.)

TIA!

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to