25/06/19

Vim Quick Reference

Basically, vim has three working modes:

  1. Command mode
  2. Insert Mode
  3. Ex-mode

Basic VIM Movement

  • b move back from word
  • w move next to word

Commands

Disable text wrap

:set wrap!
(you can use ~/.vimrc)

Display or hide line numbers?

:set number
for display
:set nonumber
for hide

Nessun commento :

Posta un commento