vim: add line numbers example (#4608)

This commit is contained in:
CARE-COLIN Thibaut
2020-10-31 21:42:18 +01:00
committed by GitHub
parent 4a7fc6ceb1
commit 591c384275
2 changed files with 43 additions and 6 deletions

View File

@@ -12,13 +12,9 @@
`:help<Enter>`
- Save a file:
- Save and Quit:
`:write<Enter>`
- Quit without saving:
`:quit!<Enter>`
`:wq<Enter>`
- Open a file at a specified line number:
@@ -35,3 +31,7 @@
- Perform a regex substitution in the whole file:
`:%s/{{pattern}}/{{replacement}}/g<Enter>`
- Display the line numbers:
`:set nu<Enter>`