lambdalisue / jupyter-vim-binding

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

Add comment shortcut (gcc) #133

Open jrwrigh opened 5 years ago

jrwrigh commented 5 years ago

Summary

A really helpful vim shortcut to use would be using gcc to toggle the comment of a line.

I can't think it'd be that difficult to do either. Some simple if statements to chose whether to run I# or Idf# in the case of Python's comments.

lambdalisue commented 5 years ago

Vim itself does not provide such mapping. So it should be done by user as a custom binding.