jupyterkernel.vim icon indicating copy to clipboard operation
jupyterkernel.vim copied to clipboard

Key mapping <Shift-Enter> doesn't work right in the terminal version of vim.

Open zergzzlun opened this issue 5 years ago • 3 comments

I installed jupyterkernel.vim and tested on GNOME Terminal, the Shift-Enter mapping is not functioning.

Specifically, in 'autoload/jupyterkernel.vim' line 199: nnoremap <buffer><silent> <S-Return> :<C-u>call jupyterkernel#send_inside_codefence()<CR> It works fine when I change <S-Return> to somethingelse (e.g. <C-i>).

From this link it seems that currently this problem cannot be solved.

zergzzlun avatar Apr 15 '19 07:04 zergzzlun

Thank you for reporting the bug!

Right, <S-Return> doesn't work in terminal...
I've been left it because I mainly use gVim, and I don't know which keybind is proper (instead of <S-Return>, which is the default in Jupyter).

Do you have any idea about which key should be assigned?

hisaknown avatar Apr 19 '19 12:04 hisaknown

Thanks for replying. I personally find <S-f> quite handy, bud didn't find an official alternate.

zergzzlun avatar Apr 21 '19 12:04 zergzzlun

Thans for this issue, I thought it not work caused by I install jupyter in a virtual environment.

And I think <S-f> is not so good, as it means find backward.

What's more, maybe add a tip of this issue in README.md.

roachsinai avatar Mar 16 '20 03:03 roachsinai