Skip to content

Is there a way to invoke commands provided by other plugins from vim plugin v6? #51

Description

@basyura

With earlier versions of inkdrop-vim, I could define the following in keymap.json and trigger a command provided by another plugin from a vim plugin keybinding:

{
    ".CodeMirror.vim-mode.normal-mode textarea": {
      "ctrl-n": "sidetoc:jump-next"
    }
}

With this setting, pressing ctrl-n triggered the sidetoc:jump-next command.

In inkdrop-vim v6, is there a way to invoke commands provided by other plugins, such as sidetoc:jump-next, from vim plugin keybindings?

If this is possible, could you please share the recommended way to configure it?

For example, a setting like this.

Vim.map("<C-n>", "sidetoc:jump-next");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions