On Sunday, February 26, 2023 at 6:48:16 PM UTC-5 lacygoill wrote:

Here is an example:
function s:Func() echomsg 'hello from s:Func' endfunction nnoremap <F3> :
call <SID>Func()<CR>

—
Reply to this email directly, view it on GitHub 
<https://github.com/vim/vim/issues/12073#issuecomment-1445503127>.

You are receiving this because you are subscribed to this thread.


 I have always written that as `:nnoremap <leader>X :call s:Func()<enter>` 
without trouble (_i.e._, it works). But you seem to be saying that `<SID>` 
is required… am I relying on a bug?

Message ID: <vim/vim/issues/12073/[email protected]>

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/7f7a88a9-aa67-4a78-8af9-dbf668420f70n%40googlegroups.com.

Raspunde prin e-mail lui