Vim Basics
#
Installation#
With Vundlehttps://raw.githubusercontent.com/hhk7734/conf/master/.vimrc
https://raw.githubusercontent.com/hhk7734/conf/master/.ycm_extra_conf.py
#
Without Vundlehttps://raw.githubusercontent.com/hhk7734/conf/master/without_vundle_vimrc/.vimrc
#
Normal mode:h key-notation
: key notation
u
: undo<C-R>
: redo
=
: align ex) gg=G, =3<C-K>
: clang-format (μ€μ ν κ²½μ°)
:! <command>
: shellμμ \<command>λ₯Ό μ€νν©λλ€.:r[ead]! <command>
: stdout -> vim:w[rite]! <command>
: vim -> stdin:sh
: μλ‘ κ°κΈ°<C-D>
: μμμ λμμ€κΈ°
<C-A>
: μ«μ μ¦κ°<C-X>
: μ«μ κ°μ
#
Visual modeu
: μλ¬Έμλ‘ λ³νU
: λλ¬Έμλ‘ λ³ν