Tab pages: :tabe, gt, gT, <C-w>T
Keep whole layouts on separate tab pages and flip between them.
4 drills
- Open a file in a new tab: :tabe: Open the file named in the goal in a new tab page with
:tabe {file}. - Switch tabs: gt, gT and {N}gt: Go to the tab page shown in the goal with as few keys as you can, using
gt,gTor a count beforegt. - Give a window its own tab: <C-w>T: Move the current window out into a new tab page.
- Tidy up: :tabo, :tabc and :tabm: Tidy the tab pages so they match the goal, using the tab ex commands.
The drill editor loads in your browser.