Hi,
is there a way to script a vim function which returns the
function a certain hotkey is bound to?
Mapped keys can be reported via 'map' and friends. But
how can I report for example the function behind I ?
Thank you very much in advance for any help!
Have a nice weekend!
Best regards,
mcc
Vim's built-in mappings like `I` aren't mapped to any function. Well,
they're mapped to a C function in the Vim source code, but not to any
VimScript function whose name would be useful for a user. So no, there's
no way to do this.
pgpJUsHhd20U6.pgp
Description: PGP signature
Taylor Hedberg tmhedb...@gmail.com [11-12-10 18:12]:
Vim's built-in mappings like `I` aren't mapped to any function. Well,
they're mapped to a C function in the Vim source code, but not to any
VimScript function whose name would be useful for a user. So no, there's
no way to do this.
Hi
On 20:01 Sat 10 Dec , meino.cra...@gmx.de wrote:
Taylor Hedberg tmhedb...@gmail.com [11-12-10 18:12]:
Vim's built-in mappings like `I` aren't mapped to any function. Well,
they're mapped to a C function in the Vim source code, but not to any
VimScript function whose name would be useful
Hmm, maybe I'm not quite sure what you're asking, but you can definitely
remap `f` to whatever you want, overriding the default behavior. All I
was saying was that the built-in, default mappings for commands like `f`
and `I` do not correspond to functions that Vim exposes to the user, so
unlike
On 2011-12-10, meino cramer wrote:
Taylor Hedberg [11-12-10 18:12]:
Vim's built-in mappings like `I` aren't mapped to any function. Well,
they're mapped to a C function in the Vim source code, but not to any
VimScript function whose name would be useful for a user. So no, there's
no way