vim on colab

Last Updated on April 30, 2023 by mishou

I. Setting ups for Vim keybindings

Select “vim” at Tools>Settings>Editor>Key bindings>vim

II. Using Vim keybindings

1. Create or select a cell

Create a new code cell below
Ctrl + m, b

Select the previous cell
Ctrl + m, p

Select the next cell
Ctrl + m, n

2. Change modes

Normal mode

Visual mode

Insert mode

Command mode

The above keys don’t work properly if you use the vimium plugin. You should just disable the vimium plugin or add exclusion rules for the coloab website in the vimium plugin.

By mishou

Leave a Reply

Your email address will not be published. Required fields are marked *