Some interesting command with
ggg?Gwill root13 whole file :v
gadisplay hex, ascii of character under the cursor
g8display hex value of utf-8 character.
G=ggauto (re)indent entire document.
!means do not match pattern
- Cmd list:
# Delete all line matching with pattern :g/pattern/d # Delete all blank lines :g/^\s*$/d # Move all line matching pattern to end of file :g/pattern/m$ # Add text to end of line matching pattern :g/^pattern/s/$/mytext # Run a marco on matching lines :g/pattern/normal @q
You can find more here