{...}: { plugins.smart-splits = { enable = true; settings = { multiplexer_integration = "WezTerm"; }; }; keymaps = [ # moving between splits { mode = ["n"]; key = ""; action = { __raw = "require('smart-splits').move_cursor_left"; }; } { mode = ["n"]; key = ""; action = { __raw = "require('smart-splits').move_cursor_down"; }; } { mode = ["n"]; key = ""; action = { __raw = "require('smart-splits').move_cursor_up"; }; } { mode = ["n"]; key = ""; action = { __raw = "require('smart-splits').move_cursor_right"; }; } # swapping buffers between windows { mode = ["n"]; key = ""; action = { __raw = "require('smart-splits').swap_buf_left"; }; } { mode = ["n"]; key = ""; action = { __raw = "require('smart-splits').swap_buf_down"; }; } { mode = ["n"]; key = ""; action = { __raw = "require('smart-splits').swap_buf_up"; }; } { mode = ["n"]; key = ""; action = { __raw = "require('smart-splits').swap_buf_right"; }; } # resizing splits { mode = ["n"]; key = ""; action = { __raw = "require('smart-splits').resize_left"; }; } { mode = ["n"]; key = ""; action = { __raw = "require('smart-splits').resize_down"; }; } { mode = ["n"]; key = ""; action = { __raw = "require('smart-splits').resize_up"; }; } { mode = ["n"]; key = ""; action = { __raw = "require('smart-splits').resize_right"; }; } ]; }