local opts = { noremap = true, silent = true, buffer = true } --Convert between py and ipynb vim.keymap.set('n', 'jnp', 'call jukit#convert#notebook_convert()', opts) -- Create new code cell below. Argument: Whether to create code cell (0) or markdown cell (1) vim.keymap.set('n', 'jco', 'call jukit#cells#create_below(0)', opts) -- Create new code cell above. Argument: Whether to create code cell (0) or markdown cell (1) vim.keymap.set('n', 'jcO', 'call jukit#cells#create_above(0)', opts) -- Create new text (markdown) cell below. Argument: Whether to create code cell (0) or markdown cell (1) vim.keymap.set('n', 'jct', 'call jukit#cells#create_below(1)', opts) -- Create new text (markdown) cell above. Argument: Whether to create code cell (0) or markdown cell (1) vim.keymap.set('n', 'jcT', 'call jukit#cells#create_above(1)', opts) -- Deletes the current cell vim.keymap.set('n', 'jcd', 'call jukit#cells#delete()', opts) -- Send current section (argument: 0 indicates the current section) vim.keymap.set('n', 'jcc', 'call jukit#send#section(0)', opts) -- Send all sections up to the current section vim.keymap.set('n', 'jcac', 'call jukit#send#until_current_section()', opts) -- Send all sections vim.keymap.set('n', 'jca', 'call jukit#send#all()', opts) -- Open an output split vim.keymap.set('n', 'jos', 'call jukit#splits#output()', opts)