Disable vim *only* for jupyter notebook editors
See original GitHub issueKey bindings for vim and juptyer notebooks overlap, which can frustrate users. For example the period (.) keystroke doesnt work. Also j & k can move the active cell selection.
I prefer vim to be disabled in jupyter notebooks and remained enabled in other editors. This preserves the notebook bindings. Also, notebooks tend to be simpler code/text than traditional source code.
vscode-jupyter said they could not facilitate this: https://github.com/microsoft/vscode-jupyter/issues/6837
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Disable vim ==only== in notebook editors · Issue #6837 - GitHub
I find it much easier to edit notebooks with non-vim bindings. Global disable of vim is an option, but is a pain when...
Read more >how to disable jupyter editor in vscode - Stack Overflow
This can be disabled by python.dataScience.useNotebookEditor if you are using the Python extension. Source: https://github.com/microsoft/vscode/issues/ ...
Read more >jupyter and vim : r/vim - Reddit
I just want (Neo)vim, with the functionality of jupyter (inline plotting) even if this means vim has to be rendered inside an electron...
Read more >Install Vim Bindings in Jupyter Notebook - YouTube
This video is a quick tutorial for those of you who want to install Vim bindings in their Jupyter notebooks.
Read more >Keyboard shortcut to focus on jupyter editor
Open Jupyter Notebook file while IdeaVim plugin is enabled. Select any cell. Press the Esc key while in command mode. Expected. The focus...
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 Free
Top 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
The VIM behaviour is really erratic in jupyter notebooks, there were too many bugs to describe them here. So it would be really good to let us disable the plugin in jupyter until the issues are sorted out.
Re. bugs it looks like internal state of plugin gets messed up when one I navigate the jupyter notebook with mouse. It manifest it self with cursor jumping to previous locations on edit, copy to clipboard not working , selection not working correctly etc.
In the meanwhile, another issue popped up about this very topic https://github.com/VSCodeVim/Vim/issues/6151
It seems to me there is a real demand for being able to disable the vim plugin for certain file types. Given that both vim and Jupyter notebooks have their own extensive sets of keybindings, it is also not clear to me whether it is even possible to marry vim and Jupyter notebooks in a way that does not lead to unexpected results (as is currently the case).
Is there a good reason for not implementing this feature to disable vim for certain file types?