lambdalisue / jupyter-vim-binding

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

Change cell type to markdown? #139

Closed bi1yeu closed 5 years ago

bi1yeu commented 5 years ago

Summary

Without jupyter-vim-binding, it's possible to change a cell type to markdown by pressing m when not in insert mode (when cell has blue outline).

Environment

Behavior

When a cell is highlighted in Jupyter mode (blue outline), press the m key

Expected

Cell type changes to markdown

Actual

Nothing

What you have done to solve the issue

I couldn't find an issue about exactly this problem. I tried pressing m on a cell inside a notebook at https://jupyter.org/try and it worked as expected, changing the cell type to markdown.

lambdalisue commented 5 years ago

Use ctrl-2 or cmd-2 https://github.com/lambdalisue/jupyter-vim-binding/blob/master/lib/jupyter/shortcuts.js

bi1yeu commented 5 years ago

Ah, I totally missed that list of shortcuts. Thanks, and thanks for the great plugin!