vim: add line numbers example (#4608)
This commit is contained in:

committed by
GitHub

parent
4a7fc6ceb1
commit
591c384275
@@ -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>`
|
||||
|
Reference in New Issue
Block a user