mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-28 11:22:08 +03:00
Add pages for vim and vimtutor
This commit is contained in:
parent
71d8547aad
commit
7f08ffc5a3
19
pages/common/vim.md
Normal file
19
pages/common/vim.md
Normal file
@ -0,0 +1,19 @@
|
||||
# vim
|
||||
|
||||
> Vi IMproved, a programmers text editor
|
||||
|
||||
- open a file with cursor at the given line number
|
||||
|
||||
`vim {{file}} +{{linenumber}}`
|
||||
|
||||
- open multiple files at once, each file in it's own tab page
|
||||
|
||||
`vim -p {{file1}} {{file2}} {{file3}}`
|
||||
|
||||
- open a file in read-only mode
|
||||
|
||||
`view {{file}}`
|
||||
|
||||
- exiting vim
|
||||
|
||||
`[Esc] (to switch to normal mode), then :q`
|
11
pages/common/vimtutor.md
Normal file
11
pages/common/vimtutor.md
Normal file
@ -0,0 +1,11 @@
|
||||
# vimtutor
|
||||
|
||||
> Vim tutor, teaching the basic vim commands
|
||||
|
||||
- launch the vim tutor using the given language (en, fr, de, ...)
|
||||
|
||||
`vimtutor {{language}}`
|
||||
|
||||
- exiting the tutor
|
||||
|
||||
`[Esc] (to switch to normal mode), then :q`
|
Loading…
Reference in New Issue
Block a user