mirror of
https://github.com/VSCodeVim/Vim.git
synced 2024-09-11 12:25:59 +03:00
add snonyms for gt/T
This commit is contained in:
parent
c0a986f991
commit
d56cb2f402
@ -525,7 +525,7 @@ Status | Command | Description | Note
|
||||
Status | Command | Description | Note
|
||||
---|--------|------------------|------------
|
||||
:white_check_mark: | :tabn[ext] :1234: | Go to next tab page or tab page {count}. The first tab page has number one.
|
||||
| {count}<C-PageDown>, {count}gt | Same as above
|
||||
:white_check_mark: | {count}<C-PageDown>, {count}gt | Same as above
|
||||
:white_check_mark: | :tabp[revious] :1234: | Go to the previous tab page. Wraps around from the first one to the last one.
|
||||
:white_check_mark: | :tabN[ext] :1234: | Same as above
|
||||
| {count}<C-PageUp>, {count}gT | Same as above
|
||||
|
10
package.json
10
package.json
@ -137,6 +137,16 @@
|
||||
"command": "extension.vim_ctrl+t",
|
||||
"when": "editorTextFocus && vim.useCtrlKeys"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+pagedown",
|
||||
"command": "extension.vim_ctrl+pagedown",
|
||||
"when": "editorTextFocus && vim.useCtrlKeys"
|
||||
},
|
||||
{
|
||||
"key": "ctrl+pageup",
|
||||
"command": "extension.vim_ctrl+pageup",
|
||||
"when": "editorTextFocus && vim.useCtrlKeys"
|
||||
},
|
||||
{
|
||||
"key": "left",
|
||||
"command": "extension.vim_left",
|
||||
|
@ -2101,6 +2101,11 @@ class CommandTabNext extends BaseTabCommand {
|
||||
}
|
||||
}
|
||||
|
||||
@RegisterAction
|
||||
class CommandCtrlPagedown extends CommandTabNext {
|
||||
keys = ["<C-pagedown>"];
|
||||
}
|
||||
|
||||
@RegisterAction
|
||||
class CommandTabPrevious extends BaseTabCommand {
|
||||
keys = ["g", "T"];
|
||||
@ -2115,6 +2120,11 @@ class CommandTabPrevious extends BaseTabCommand {
|
||||
}
|
||||
}
|
||||
|
||||
@RegisterAction
|
||||
class CommandCtrlPageup extends CommandTabPrevious {
|
||||
keys = ["<C-pageup>"];
|
||||
}
|
||||
|
||||
@RegisterAction
|
||||
class MoveDownNonBlank extends BaseMovement {
|
||||
keys = ["+"];
|
||||
|
@ -92,9 +92,6 @@ export function parseTabNewCommandArgs(args: string) : node.TabCommand {
|
||||
* :tabc[lose][!] {count}. Close tab page {count}.
|
||||
*/
|
||||
export function parseTabCloseCommandArgs(args: string) : node.TabCommand {
|
||||
if (args && args !== "" && args.startsWith("!")) {
|
||||
|
||||
}
|
||||
return new node.TabCommand({
|
||||
tab: node.Tab.Close,
|
||||
count: parseCount(args)
|
||||
|
Loading…
Reference in New Issue
Block a user