Change gO, xO, and ;O keybindings to open an implicit tab

This commit is contained in:
Marshall Lochbaum 2016-08-02 14:10:36 -04:00
parent 66adbc9323
commit feed1ccda4

View File

@ -1428,9 +1428,9 @@ KEY_DATA = collections.OrderedDict([
('set-cmd-text -s :open', ['o']),
('set-cmd-text :open {url:pretty}', ['go']),
('set-cmd-text -s :open -t', ['O']),
('set-cmd-text :open -t {url:pretty}', ['gO']),
('set-cmd-text :open -t -i {url:pretty}', ['gO']),
('set-cmd-text -s :open -b', ['xo']),
('set-cmd-text :open -b {url:pretty}', ['xO']),
('set-cmd-text :open -b -i {url:pretty}', ['xO']),
('set-cmd-text -s :open -w', ['wo']),
('set-cmd-text :open -w {url:pretty}', ['wO']),
('open -t', ['ga', '<Ctrl-T>']),
@ -1463,7 +1463,7 @@ KEY_DATA = collections.OrderedDict([
('hint images', [';i']),
('hint images tab', [';I']),
('hint links fill :open {hint-url}', [';o']),
('hint links fill :open -t {hint-url}', [';O']),
('hint links fill :open -t -i {hint-url}', [';O']),
('hint links yank', [';y']),
('hint links yank-primary', [';Y']),
('hint --rapid links tab-bg', [';r']),
@ -1656,4 +1656,9 @@ CHANGED_KEY_COMMANDS = [
(re.compile(r'^download-remove --all$'), r'download-clear'),
(re.compile(r'^hint links fill "([^"]*)"$'), r'hint links fill \1'),
(re.compile(r'^set-cmd-text :open -([tb]) {url:pretty}$'),
r'set-cmd-text :open -\1 -i {url:pretty}'),
(re.compile(r'^hint links fill :open -t {hint-url}$'),
r'hint links fill :open -t -i {hint-url}'),
]