> Would import vim9 script as that. It seems to work when I directly call
> that.foobar.
>
> But how to map the same call in a nnoremapping ?
> Thank you
> NV
>
>
> # Imported Functions {{{
> import './vimfiles/autoload/nvhelper.vim' as that
> nnoremap n n:call that.HLNext(80)<CR>
> nnoremap N N:call that.HLNext(80)<CR>
Use ":help import-legacy" and then go up a few lines.
--
The term "free software" is defined by Richard M. Stallman as
being software that isn't necessarily for free. Confusing?
Let's call it "Stallman software" then!
-- Bram Moolenaar
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20220803095134.83D441C096B%40moolenaar.net.
No comments:
Post a Comment