Skip to content

<Plug>JupyterExecute is executing the next cell instead of the current one #8

@IndianBoy42

Description

@IndianBoy42
vim.api.nvim_buf_set_keymap(0, "n", "<localleader>j", "<Plug>JupyterExecute", {})
# %%
import numpy as np
import scipy as sp

# %%
print("Hello World")

Putting my cursor on import and hitting <localleader>j will cause the second cell to execute. What could be the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions