Fix Zellij navigation
This commit is contained in:
@@ -35,10 +35,11 @@
|
|||||||
};
|
};
|
||||||
keymaps =
|
keymaps =
|
||||||
let
|
let
|
||||||
winMove = key: {
|
winMove = key: dir: {
|
||||||
mode = "n";
|
mode = "n";
|
||||||
key = "<C-${key}>";
|
key = "<C-${key}>";
|
||||||
action = "<C-w>${key}<C-w><CR>";
|
#action = "<C-w>${key}<C-w><CR>";
|
||||||
|
action = ":ZellijNavigate${dir}<CR>";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
[
|
[
|
||||||
@@ -58,10 +59,10 @@
|
|||||||
key = "<C-g>";
|
key = "<C-g>";
|
||||||
action = "<Esc>:Git<CR>";
|
action = "<Esc>:Git<CR>";
|
||||||
}
|
}
|
||||||
(winMove "h")
|
(winMove "h" "Left")
|
||||||
(winMove "j")
|
(winMove "j" "Down")
|
||||||
(winMove "k")
|
(winMove "k" "Up")
|
||||||
(winMove "l")
|
(winMove "l" "Right")
|
||||||
];
|
];
|
||||||
plugins = {
|
plugins = {
|
||||||
airline.enable = true;
|
airline.enable = true;
|
||||||
@@ -135,7 +136,7 @@
|
|||||||
notify.enable = true;
|
notify.enable = true;
|
||||||
remote-nvim.enable = true;
|
remote-nvim.enable = true;
|
||||||
web-devicons.enable = true;
|
web-devicons.enable = true;
|
||||||
zellij.enable = true;
|
zellij-nav.enable = true;
|
||||||
};
|
};
|
||||||
userCommands = {
|
userCommands = {
|
||||||
Ggr = {
|
Ggr = {
|
||||||
|
|||||||
Reference in New Issue
Block a user