#TIL #vim 알만(Allman) 스타일 들여쓰기라면 대괄호(Square brackets, [ ]) 키로 뛰어넘자

]] sections forward or to the next ‘{’ in the first column.

][ sections forward or to the next ‘}’ in the first column.

[[ sections backward or to the previous ‘{’ in the first column.

[] sections backward or to the previous ‘}’ in the first column.

- Vim documentation: motion

첫 번째 컬럼에 있는 { 또는 } 문자 단위로 움직인다. c++ 같은 언어에서 Allman style로 들여 쓴다면 class, function, enum, … 단위로 움직일 수 있다.

Feedback plz <3 @ohyecloudy, ohyecloudy@gmail.com

A Random Post