From 9b2a9a5423690ebe9eb3ba65c2d35e6135d248d2 Mon Sep 17 00:00:00 2001 From: Wang Zhuochun Date: Thu, 19 Dec 2013 15:46:44 +0800 Subject: [PATCH] remove follow prev/next commands in new tab --- README.md | 2 -- extension/locale/de/vimfx.properties | 2 -- extension/locale/el-GR/vimfx.properties | 2 -- extension/locale/en-US/vimfx.properties | 2 -- extension/locale/hu/vimfx.properties | 2 -- extension/locale/id/vimfx.properties | 2 -- extension/locale/nl/vimfx.properties | 2 -- extension/locale/pl/vimfx.properties | 2 -- extension/locale/ru/vimfx.properties | 2 -- extension/locale/zh-CN/vimfx.properties | 2 -- extension/packages/commands.coffee | 8 -------- 11 files changed, 28 deletions(-) diff --git a/README.md b/README.md index 8ed043e..7c5ea3b 100644 --- a/README.md +++ b/README.md @@ -101,8 +101,6 @@ Global shortcut to enable/disable VimFx: `shift-alt-v` af Follow multiple links on the current page [ Follow the Previous page link on the current page ] Follow the Next page link on the current page - { Follow the Previous page link on the current page in a new tab - } Follow the Next page link on the current page in a new tab H Go Back in history L Go Forward in history diff --git a/extension/locale/de/vimfx.properties b/extension/locale/de/vimfx.properties index e9cc06b..8617bac 100644 --- a/extension/locale/de/vimfx.properties +++ b/extension/locale/de/vimfx.properties @@ -51,8 +51,6 @@ help_command_follow_in_tab=Einem Link auf der aktuellen Seite in neuem Tab folge help_command_follow_multiple=Follow multiple links on the current page help_command_follow_previous=Go to previous page help_command_follow_next=Go to next page -help_command_follow_previous_in_tab=Open previous page in a new tab -help_command_follow_next_in_tab=Open next page in a new tab help_command_back=Eine Seite zurück in der Chronik help_command_forward=Eine Seite vorwärts in der Chronik diff --git a/extension/locale/el-GR/vimfx.properties b/extension/locale/el-GR/vimfx.properties index 54a254b..55c4ebc 100644 --- a/extension/locale/el-GR/vimfx.properties +++ b/extension/locale/el-GR/vimfx.properties @@ -52,8 +52,6 @@ help_command_follow_in_tab=Άνοιξε σε νέα καρτέλα σύνδεσ help_command_follow_multiple=Ακολούθα πολλαπλούς συνδέσμους στην τρέχουσα σελίδα help_command_follow_previous=Go to previous page help_command_follow_next=Go to next page -help_command_follow_previous_in_tab=Open previous page in a new tab -help_command_follow_next_in_tab=Open next page in a new tab help_command_back=Πήγαινε πίσω στο ιστορικό help_command_forward=Πήγαινε μπροστά στο ιστορικό diff --git a/extension/locale/en-US/vimfx.properties b/extension/locale/en-US/vimfx.properties index 10913b1..d3226cd 100644 --- a/extension/locale/en-US/vimfx.properties +++ b/extension/locale/en-US/vimfx.properties @@ -52,8 +52,6 @@ help_command_follow_in_tab=Follow a link on the current page in a new tab help_command_follow_multiple=Follow multiple links on the current page help_command_follow_previous=Go to previous page help_command_follow_next=Go to next page -help_command_follow_previous_in_tab=Open previous page in a new tab -help_command_follow_next_in_tab=Open next page in a new tab help_command_back=Go Back in history help_command_forward=Go Forward in history diff --git a/extension/locale/hu/vimfx.properties b/extension/locale/hu/vimfx.properties index e582934..45c34f6 100644 --- a/extension/locale/hu/vimfx.properties +++ b/extension/locale/hu/vimfx.properties @@ -51,8 +51,6 @@ help_command_follow_in_tab=Link követése új tabban help_command_follow_multiple=Follow multiple links on the current page help_command_follow_previous=Go to previous page help_command_follow_next=Go to next page -help_command_follow_previous_in_tab=Open previous page in a new tab -help_command_follow_next_in_tab=Open next page in a new tab help_command_back=Vissza az előzményekben help_command_forward=Előre az előzményekben diff --git a/extension/locale/id/vimfx.properties b/extension/locale/id/vimfx.properties index a799968..9734588 100644 --- a/extension/locale/id/vimfx.properties +++ b/extension/locale/id/vimfx.properties @@ -51,8 +51,6 @@ help_command_follow_in_tab=Ikuti pranala pada halaman sekarang di tab baru help_command_follow_multiple=Follow multiple links on the current page help_command_follow_previous=Go to previous page help_command_follow_next=Go to next page -help_command_follow_previous_in_tab=Open previous page in a new tab -help_command_follow_next_in_tab=Open next page in a new tab help_command_back=Mundur dalam history help_command_forward=Maju dalam history diff --git a/extension/locale/nl/vimfx.properties b/extension/locale/nl/vimfx.properties index 12ed1cb..78a5401 100644 --- a/extension/locale/nl/vimfx.properties +++ b/extension/locale/nl/vimfx.properties @@ -52,8 +52,6 @@ help_command_follow_in_tab=Volg een link op de huidige pagina in een nieuw tabbl help_command_follow_multiple=Follow multiple links on the current page help_command_follow_previous=Go to previous page help_command_follow_next=Go to next page -help_command_follow_previous_in_tab=Open previous page in a new tab -help_command_follow_next_in_tab=Open next page in a new tab help_command_back=Ga terug in de geschiedenis help_command_forward=Ga vooruit in geschiedenis diff --git a/extension/locale/pl/vimfx.properties b/extension/locale/pl/vimfx.properties index edc2f1c..3218f9f 100644 --- a/extension/locale/pl/vimfx.properties +++ b/extension/locale/pl/vimfx.properties @@ -52,8 +52,6 @@ help_command_follow_in_tab=Otwórz link z bieżącej strony w nowej karcie help_command_follow_multiple=Follow multiple links on the current page help_command_follow_previous=Go to previous page help_command_follow_next=Go to next page -help_command_follow_previous_in_tab=Open previous page in a new tab -help_command_follow_next_in_tab=Open next page in a new tab help_command_back=Wstecz help_command_forward=Dalej diff --git a/extension/locale/ru/vimfx.properties b/extension/locale/ru/vimfx.properties index 97646e7..c8d1065 100644 --- a/extension/locale/ru/vimfx.properties +++ b/extension/locale/ru/vimfx.properties @@ -52,8 +52,6 @@ help_command_follow_in_tab=Перейти по ссылке в новой вкл help_command_follow_multiple=Перейти по нескольком ссылкам в новой вкладке help_command_follow_previous=Go to previous page help_command_follow_next=Go to next page -help_command_follow_previous_in_tab=Open previous page in a new tab -help_command_follow_next_in_tab=Open next page in a new tab help_command_back=Предыдущая страница help_command_forward=Следующая страница diff --git a/extension/locale/zh-CN/vimfx.properties b/extension/locale/zh-CN/vimfx.properties index ae002b7..83f721b 100644 --- a/extension/locale/zh-CN/vimfx.properties +++ b/extension/locale/zh-CN/vimfx.properties @@ -52,8 +52,6 @@ help_command_follow_in_tab=在新标签页中打开当前页面上的某个链 help_command_follow_multiple=打开当前页面上的多个链接 help_command_follow_previous=打开上一页 help_command_follow_next=打开下一页 -help_command_follow_previous_in_tab=在新标签页打开上一页 -help_command_follow_next_in_tab=在新标签页打开下一页 help_command_back=后退 help_command_forward=前进 diff --git a/extension/packages/commands.coffee b/extension/packages/commands.coffee index e967651..23176c9 100644 --- a/extension/packages/commands.coffee +++ b/extension/packages/commands.coffee @@ -233,12 +233,6 @@ command_follow_prev = helper_follow_link.bind(undefined, { type: "prev", inTab: # Follow next page command_follow_next = helper_follow_link.bind(undefined, { type: "next", inTab: false }) -# Follow previous page, open in a new tab -command_follow_prev_in_tab = helper_follow_link.bind(undefined, { type: "prev", inTab: true }) - -# Follow next page, open in a new tab -command_follow_next_in_tab = helper_follow_link.bind(undefined, { type: "next", inTab: true }) - # Move current tab to the left command_tab_move_left = (vim) -> if gBrowser = utils.getRootWindow(vim.window)?.gBrowser @@ -369,8 +363,6 @@ commands = [ new Command('browse', 'follow_multiple', command_follow_multiple, ['a,f']) new Command('browse', 'follow_previous', command_follow_prev, ['[']) new Command('browse', 'follow_next', command_follow_next, [']']) - new Command('browse', 'follow_previous_in_tab', command_follow_prev_in_tab, ['{']) - new Command('browse', 'follow_next_in_tab', command_follow_next_in_tab, ['}']) new Command('browse', 'back', command_back, ['H']) new Command('browse', 'forward', command_forward, ['L']) -- 2.39.3