lambdalisue / jupyter-vim-binding

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

Ctrl-s opens up the save window when in Vim mode, but not when exited #97

Closed darthdeus closed 7 years ago

darthdeus commented 7 years ago

Summary

Ctrl-s doesn't work in Vim mode, but works outside it.

Environment

Behavior

Pressing Ctrl-s in Vim mode opens up the browser save menu

Expected

Expecting it to save a checkpoint as it does if I exit Vim mode (shift-escape)

Actual

Step by step procedure

  1. Start local Jupyter Notebook by jupyter notebook
  2. Access http://localhost:8888/
  3. Press Ctrl-s to save and see that it saves a checkpoint
  4. Press i to enter Vim mode
  5. Press Ctrl-s again and a Chrome opens up a save dialogue

What you have done to solve the issue

I tried this both in Chrome 57.0.2987.133 and Firefox 53.0 (32bit) and it is reproducible in both.

lambdalisue commented 7 years ago

Vim does not use Ctrl-s. If you prefer, add a custom mapping for that