diff options
| author | Stephen Blott | 2016-10-17 11:28:37 +0100 |
|---|---|---|
| committer | Stephen Blott | 2016-12-11 15:28:56 +0000 |
| commit | d142f4c4c75eceb92184c0773f4d7b376870accf (patch) | |
| tree | 0deea35ad427a8db50acaea8416137a07aefff8a /git_hooks/pre-commit | |
| parent | b4eb7140f5cf4f567c83f7af952b09e8bc80918d (diff) | |
| download | vimium-d142f4c4c75eceb92184c0773f4d7b376870accf.tar.bz2 | |
Extend createTab to open specific pages.
Example:
map a createTab http://edition.cnn.com/ http://www.bbc.co.uk/news
which creates two new tabs, but preloaded with these specific URLs.
`2a` creates four new tabs, two copies of each.
Limitation:
- We cannot control the order of the tabs, so we might get CNN then BBC,
or BBC then CNN. This happens because command options are stored in
an object, and we cannot control the order of the keys.
Also, with:
map a createTab http://www.bbc.co.uk/news http://www.bbc.co.uk/news
we only get one new tab (same reason as above).
Diffstat (limited to 'git_hooks/pre-commit')
0 files changed, 0 insertions, 0 deletions
