nix-community.nixvim/tests/test-sources/plugins/utils/tmux-navigator.nix
Matt Sturgeon 9dc094489a plugins/tmux-navigator: port to mkVimPlugin
Add missing settings:
- preserve_zoom
- no_mappings

Include upstream's documentation.

Deprecate old option names.
2024-03-23 13:24:58 +01:00

21 lines
368 B
Nix

{
# Empty configuration
empty = {
plugins.tmux-navigator.enable = true;
};
# Activate all settings
defaults = {
plugins.tmux-navigator = {
enable = true;
settings = {
save_on_switch = 2;
disable_when_zoomed = true;
preserve_zoom = true;
no_wrap = true;
no_mappings = true;
};
};
};
}