mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -05:00
tabmove: Make 0 a real alias to $
Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
This commit is contained in:
parent
9df30d2dce
commit
728b5ccadf
1 changed files with 1 additions and 1 deletions
|
@ -1818,7 +1818,7 @@ export async function tabmove(index = "$") {
|
|||
} else if (index.startsWith("-")) {
|
||||
relative = true
|
||||
newindex = Number(index) + aTab.index
|
||||
} else if (["end", "$"].includes(index)) {
|
||||
} else if (["end", "$", "0"].includes(index)) {
|
||||
newindex = maxindex
|
||||
} else if (["start", "^"].includes(index)) {
|
||||
newindex = 0
|
||||
|
|
Loading…
Add table
Reference in a new issue