It was possible to use codemirror's vim mode in ipython notebook by generally following the way explained here and I was enjoying it, but in 2.x it's not possible because the notebook's interface "steals" escape key. In fact, "Esc" in codemirror's vim mode is Ctrl-c, which is not working nevertheless.
I don't know anything about Javascript, but it seems codemirror's vim.js located in
...\IPython\html\static\components\codemirror
somehow maps Ctrl-c to Esc, but this Esc is presumably taken by ipython notebook.
Mixing ipython notebook and vim keyboard binding was a great environment. Is there any workaround in 2.x? Because of this, I'm still using 1.2.1.
~~Vimception does not work on 3.x(Jupyter) but I found that this guy did a great job. This works perfectly.~~
Just see @Λlisue's answer. He deserves +100.
Recently I made a new plugin for enabling Vim key binding in Jupyter. Try https://github.com/lambdalisue/jupyter-vim-binding
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With