2023-04-04 14:00:04 +02:00
|
|
|
{
|
|
|
|
# Empty configuration
|
|
|
|
empty = {
|
|
|
|
plugins.tmux-navigator.enable = true;
|
|
|
|
};
|
|
|
|
|
2024-03-07 19:44:13 +01:00
|
|
|
# Activate all settings
|
2023-04-04 14:00:04 +02:00
|
|
|
defaults = {
|
|
|
|
plugins.tmux-navigator = {
|
|
|
|
enable = true;
|
|
|
|
|
2024-03-17 15:44:44 +00:00
|
|
|
keymaps = [ ];
|
|
|
|
|
2024-03-19 20:17:57 +00:00
|
|
|
settings = {
|
|
|
|
save_on_switch = 2;
|
|
|
|
disable_when_zoomed = true;
|
|
|
|
preserve_zoom = true;
|
|
|
|
no_wrap = true;
|
|
|
|
no_mappings = true;
|
|
|
|
};
|
2023-04-04 14:00:04 +02:00
|
|
|
};
|
|
|
|
};
|
2024-03-17 15:44:44 +00:00
|
|
|
|
|
|
|
with-keymap = {
|
|
|
|
plugins.tmux-navigator = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
keymaps = [
|
|
|
|
{
|
|
|
|
key = "<C-w>h";
|
|
|
|
action = "left";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
key = "<C-w>j";
|
|
|
|
action = "down";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
key = "<C-w>k";
|
|
|
|
action = "up";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
key = "<C-w>l";
|
|
|
|
action = "right";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
key = "<C-w>\\";
|
|
|
|
action = "previous";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
settings.no_mappings = true;
|
|
|
|
};
|
|
|
|
};
|
2023-04-04 14:00:04 +02:00
|
|
|
}
|