[IPython-dev] Emacs/Vim keybindings in the notebook

Fernando Perez fperez.net at gmail.com
Thu Jan 26 14:35:13 EST 2012

On Thu, Jan 26, 2012 at 9:37 AM, Brian Granger <ellisonbg at gmail.com> wrote:
> I am working on the client side configuration stuff.  But a temporary
> fix would be to allow these things to be configured using the
> Javascript  API.  Something like:
> IPython.notebook.enable_vim_kb()
> IPython.notebook.enable_emacs_kb()
> IPython.notebook.enable_default_kb()
> That is much better than forcing a user to edit the source code.  That
> is currently how I am handling things that need configuration.  A JS
> API until we get the config UI done.  I wouldn't even mind merging
> this type of thing into master so users can start to play with it.
> How does that sound?

Sounds good, I'll try to add those functions tonight to my branch, so
that the only thing missing is a UI to configure this persistently.
If I get it to work, I'll make a PR.

I think in the interest of least surprise, the default should still be
no special keybindings (like now), with emacs/vim being user-modified.



More information about the IPython-dev mailing list