Show line numbers
Toggle line numbers on (use :set nonumber to hide)
:set number
- tool
- vim10 commands
More vim commands
-
:vsplit other.txtVertical split; use Ctrl-w + arrow to navigate panes
-
:wqWrite file and quit vim
-
:q!Force quit discarding all changes
-
:%s/old/new/gcReplace all occurrences interactively (c = confirm)
-
vim +42 file.txtStart vim with cursor on line 42