feat: <control><direction> window navigation
This commit is contained in:
parent
82dd9c85d5
commit
3fed17452d
|
@ -11,6 +11,42 @@
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{ # focus window left
|
||||||
|
mode = ["n"];
|
||||||
|
key = "<C-Left>";
|
||||||
|
action = "<C-w>h";
|
||||||
|
options = {
|
||||||
|
silent = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
{ # focus window down
|
||||||
|
mode = ["n"];
|
||||||
|
key = "<C-Down>";
|
||||||
|
action = "<C-w>j";
|
||||||
|
options = {
|
||||||
|
silent = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
{ # focus window up
|
||||||
|
mode = ["n"];
|
||||||
|
key = "<C-Up>";
|
||||||
|
action = "<C-w>k";
|
||||||
|
options = {
|
||||||
|
silent = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
{ # focus window right
|
||||||
|
mode = ["n"];
|
||||||
|
key = "<C-Right>";
|
||||||
|
action = "<C-w>l";
|
||||||
|
options = {
|
||||||
|
silent = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
{ # buffer prefix
|
{ # buffer prefix
|
||||||
mode = "n";
|
mode = "n";
|
||||||
key = "<leader>b";
|
key = "<leader>b";
|
||||||
|
|
Loading…
Reference in a new issue