mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-27 17:26:39 +03:00
Merge pull request #2979 from Kyle-Mendes/vim-help-docs
[vim/en] Vim help docs
This commit is contained in:
commit
c5ea4e4095
@ -17,6 +17,7 @@ specific points in the file, and for fast editing.
|
|||||||
|
|
||||||
```
|
```
|
||||||
vim <filename> # Open <filename> in vim
|
vim <filename> # Open <filename> in vim
|
||||||
|
:help <topic> # Open up built-in help docs about <topic> if any exists
|
||||||
:q # Quit vim
|
:q # Quit vim
|
||||||
:w # Save current file
|
:w # Save current file
|
||||||
:wq # Save file and quit vim
|
:wq # Save file and quit vim
|
||||||
@ -73,6 +74,15 @@ specific points in the file, and for fast editing.
|
|||||||
L # Move to the bottom of the screen
|
L # Move to the bottom of the screen
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Help docs:
|
||||||
|
|
||||||
|
Vim has built in help documentation that can accessed with `:help <topic>`.
|
||||||
|
For example `:help navigation` will pull up documentation about how to navigate
|
||||||
|
your workspace!
|
||||||
|
|
||||||
|
`:help` can also be used without an option. This will bring up a default help dialog
|
||||||
|
that aims to make getting started with vim more approachable!
|
||||||
|
|
||||||
## Modes:
|
## Modes:
|
||||||
|
|
||||||
Vim is based on the concept on **modes**.
|
Vim is based on the concept on **modes**.
|
||||||
|
Loading…
Reference in New Issue
Block a user