Closed dgdosen closed 1 year ago
No, you'll need to do what rails.vim does and invoke the <Plug><cfile>
map as an argument to :find
:
The <SID>:
thing effectively translates 2gf
into :2find <Plug><cfile>
. You'll need to do something similar (or skip it, as you probably don't normally use a count anyways).
Say I wanted to remap the rails-vim |gf| command in neovim, I'm thinking I should be able to call something like
<Plug>(rails-vim)gf
Should that work?