lambdalisue / jupyter-vim-binding

Jupyter meets Vim. Vimmer will fall in love.
2.1k stars 136 forks source link

insert to normal mode #122

Closed exp2logy closed 6 years ago

exp2logy commented 6 years ago

Summary

Best way to go from insert to normal mode.

Environment

Behavior

When I'm in insert mode in a cell, what is the shortest way to go into what in Vi is normal mode? I notice that Esc+Enter and Esc i i, works? Is this by design?

Expected

This is suboptimal compared to just Esc. In vi I have jj instead of Esc. Is this customizable in the extension?

exp2logy commented 6 years ago

The customization instructions worked and jj now configured!

zhiyuanpeng commented 5 years ago

which command do you use to configure the jj? I use this CodeMirror.Vim.map("jj", "", "insert"), however, it doesn't make sense.

XRLuo commented 4 years ago

The customization instructions worked and jj now configured!

Can you share the specific procedure with us?