Vim cell commands
See original GitHub issueIt’d be nice if Vim bindings could while in the notebook cell mode (not editing a cell). i.e., dd
deletes a celland
yy` copies a cell.
I keep on running into this bug from Jupyter notebook muscle memory. It’d be nice if installing this package meant that those keybindings were enabled (and yes, I could go into settings and change them all but this would be easier).
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:9 (4 by maintainers)
Top Results From Across the Web
vim-ipython-cell/README.md at master - GitHub
ipython-cell. Seamlessly run Python code from Vim in IPython, including executing individual code cells similar to Jupyter notebooks and MATLAB.
Read more >jupyterlab-vim — jupyterlab-contrib 1.0.0 documentation
Vim command bindings¶ ; Ctrl-O, G · Select First Cell ; Ctrl-O, Ctrl-G · Select Last Cell ; Ctrl-E · Move Cell Down...
Read more >Edit IPython cell in an external editor - Stack Overflow
Cell contents can now be edited via Gvim. From command mode use 'g' to open current cell contents in Gvim. After ':wq' from...
Read more >PyCharm 2021.3 EAP + IdeaVim: can't enter a cell in jupyter
Activate vim bindings in pycharm (ideavim); Create a notebook; Go to jupyter command mode (execute a cell or double-tap esc ); Try to...
Read more >Run Python code and code cells in IPython : r/vim - Reddit
Cells are defined by either Vim marks or by special text in the code, by default ## . I used to use ##...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just found this issue after wanting this enough to go and do https://github.com/jwkvam/jupyterlab_vim/pull/28 😃
Since this is explicitly a vim extension I think we should stay as close as possible to vim muscle memory shortcuts and make it easy for people to customize if they want other commands. At least for me it’d majorly mess with my sanity if
dd
deleted two cells.I’d prefer the bindings to be the same as vim’s actions for a single line. I don’t need to learn another set of keybindings then.
Could we present a choice to the user? I think maybe a switch would be appropriate here.