vim
Syntax
:tabnew / :tabn / :tabp / gt
Parameters
| Parameters | Description | Examples | Level |
|---|---|---|---|
:tabnew file |
New | :tabnew app.js |
Common |
gt |
gt |
Common | |
gT |
gT |
Common | |
:tabclose |
:tabclose |
Common | |
Ngt |
N | 2gt |
Advanced |
:tabmove N |
N | :tabmove 0 |
Advanced |
Examples
New
:tabnew config.yaml
gt / gT
/
:tabonly
command
:tabdo %s/old/new/g
Common Errors
:tabs, Ngt
Tips
- ,
- vim -p file1 file2
- set tabline