Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vim key map in jupyter notebook

When editing a .py file with jupyter, I have the option to choose the vim key map in the Edit dropdown menu (alongside the Default, emacs and Sublime text options). However, when opening a notebook file (.ipynb), I do not have this option. Is there a way to activate this?

I know there are some third party plugins out there, but they don't seem to support block select mode and other more advanced options like regex commands.

Not sure it matters, but I'm opening my notebooks with the Anaconda navigator.

like image 218
Nigu Avatar asked Jun 20 '17 07:06

Nigu


People also ask

Can I use vim in Jupyter Notebook?

This extension provides Jupyter mode (For manipulating Jupyter) and Vim mode (For manipulating text). In Vim mode, there is Command mode and Insert mode like native Vim. Users can distinguish these modes by the background color of the cell.


1 Answers

Check this plugin lambdalisue/jupyter-vim-binding.

Attached screenshot to get an idea about the plugin: enter image description here

like image 137
Prakhar Agarwal Avatar answered Sep 22 '22 07:09

Prakhar Agarwal