Skip to content

VS Code

Versatile code editor


  • Comment lines - gc

Useful Extensions

Vim Mode

The standard Vim extension can be really slow, instead I find the VSCode Neovim extension is much faster.


Comment blocks with gc

Create a init.vim in the following location

  • Unix: ~/.config/nvim/init.vim
  • Windows: ~/AppData/Local/nvim/init.vim
xmap gc  <Plug>VSCodeCommentary
nmap gc  <Plug>VSCodeCommentary
omap gc  <Plug>VSCodeCommentary
nmap gcc <Plug>VSCodeCommentaryLine

Last update: August 5, 2023
Created: May 27, 2023