lydxlx

Start on a line at correct indentation in Vim

2020-05-05
lydxlx
vim
 

RECIPE: S (i.e., SHIFT+s)

This will delete the current line and start to insert at the right indentation, which can be used to save some TAB typings in certain scenarios. Note that, S is also the synonym for cc.

DEMO cited from this article:


Comments