Merge branch 'rewrite-pP' of https://github.com/blyxxyz/qutebrowser into blyxxyz-rewrite-pP

This commit is contained in:
Florian Bruhin 2016-08-19 13:36:33 +02:00
commit 8eb8039370
2 changed files with 2 additions and 0 deletions

View File

@ -1713,6 +1713,7 @@ CHANGED_KEY_COMMANDS = [
(re.compile(r'^yank-selected'), r'yank selection'),
(re.compile(r'^paste$'), r'open -- {clipboard}'),
(re.compile(r'^paste -s$'), r'open -- {primary}'),
(re.compile(r'^paste -([twb])$'), r'open -\1 -- {clipboard}'),
(re.compile(r'^paste -([twb])s$'), r'open -\1 -- {primary}'),
(re.compile(r'^paste -s([twb])$'), r'open -\1 -- {primary}'),

View File

@ -356,6 +356,7 @@ class TestKeyConfigParser:
('yank -ps', 'yank pretty-url -s'),
('paste', 'open -- {clipboard}'),
('paste -s', 'open -- {primary}'),
('paste -t', 'open -t -- {clipboard}'),
('paste -ws', 'open -w -- {primary}'),