tabs.close.right: rename gd
-> x$
This commit is contained in:
parent
6605d3ea99
commit
9a3e8f3237
4 changed files with 5 additions and 5 deletions
|
@ -25,7 +25,7 @@ module.exports = {
|
|||
"$": { "type": "scroll.end" },
|
||||
"d": { "type": "tabs.close" },
|
||||
"D": { "type": "tabs.close", "selectLeft": true },
|
||||
"gd": { "type": "tabs.close.right" },
|
||||
"x$": { "type": "tabs.close.right" },
|
||||
"!d": { "type": "tabs.close.force" },
|
||||
"u": { "type": "tabs.reopen" },
|
||||
"K": { "type": "tabs.prev", "count": 1 },
|
||||
|
|
|
@ -77,10 +77,10 @@ describe("tab test", () => {
|
|||
assert(current[2].url === tabs[2].url);
|
||||
});
|
||||
|
||||
it('deletes all tabs to the right by gD', async () => {
|
||||
it('deletes all tabs to the right by x$', async () => {
|
||||
await browser.tabs.update(tabs[1].id, { active: true });
|
||||
let body = await session.findElementByCSS('body');
|
||||
await body.sendKeys('g', Key.Shift, 'D');
|
||||
await body.sendKeys('x', '$');
|
||||
|
||||
let current = await browser.tabs.query({ windowId: win.id });
|
||||
assert(current.length === 2);
|
||||
|
|
|
@ -354,7 +354,7 @@ export const DefaultSettingData: SettingData = SettingData.valueOf({
|
|||
"$": { "type": "scroll.end" },
|
||||
"d": { "type": "tabs.close" },
|
||||
"D": { "type": "tabs.close", "selectLeft": true },
|
||||
"gd": { "type": "tabs.close.right" },
|
||||
"x$": { "type": "tabs.close.right" },
|
||||
"!d": { "type": "tabs.close.force" },
|
||||
"u": { "type": "tabs.reopen" },
|
||||
"K": { "type": "tabs.prev" },
|
||||
|
|
|
@ -147,7 +147,7 @@ export const DefaultSetting: Settings = {
|
|||
'$': { 'type': 'scroll.end' },
|
||||
'd': { 'type': 'tabs.close' },
|
||||
'D': { 'type': 'tabs.close', 'selectLeft': true },
|
||||
'gd': { 'type': 'tabs.close.right' },
|
||||
'x$': { 'type': 'tabs.close.right' },
|
||||
'!d': { 'type': 'tabs.close.force' },
|
||||
'u': { 'type': 'tabs.reopen' },
|
||||
'K': { 'type': 'tabs.prev' },
|
||||
|
|
Reference in a new issue