Vim for Colab

Hao-Chieh Kuo
Apr 13, 2021

--

在colab 中想用|享用vim

HOW TO SET VIM AS DEFAULT EDITOR

Click Tools> Editor> Editor key bindings> vim

Modes of Vim

On a cell, press Esc on keyboard,

and then

  • type i > insert mode
  • type v> visul mode
  • type Esc > back to Normal mode

On normal mode

common shortcuts

dd > delete one line
yy > copy line(s), p > paste lines copied
x > equal to backward
X > equal to delete
u > equal to ctrl+z (undo)
/str > str means word(s) you search( then find mapping word(s)) , n look for next / N look for forward

--

--

Hao-Chieh Kuo
Hao-Chieh Kuo

No responses yet