my vim cheat sheet

Huklee’s Vim cheet sheet

1. Using bash shell commands

1
:! [bash_cmd]
  • run a shell
    1
    :sh

2. Auto-indent

  • all lines

    1
    gg=G
  • for selected lines

    1
    2
    [selected mode]
    =

3.

Vim tips working external commands

vim cheat sheet

Share Comments