Add pages for vim and vimtutor
This commit is contained in:
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`
|
Reference in New Issue
Block a user