---@type table local opts = { -- Core behavior settings smart_splits = true, -- Allow split keymaps to merge into adjacent windows instead of splitting smart_close = true, -- Close buffers while preserving window layout prevent_duplicates = true, -- Avoid showing the same buffer in multiple windows -- Keymap configuration (set any to false to disable) keymaps = { -- Split: Uses standard Vim geometry. Merges if smart_splits = true and neighbor exists. -- If multiple merge targets exist, shows a visual prompt. split_right = "sl", -- (:vnew or merge) split_left = "sh", -- (:vnew or merge) split_down = "sj", -- (:new or merge) split_up = "sk", -- (:new or merge) -- Split management close_split = "sd", close_other_splits = "so", close_all_splits = "sa", -- Terminal terminal = "tt", -- Open terminal in current window -- Buffer operations close_buffer = "bd", close_other_buffers = "bo", close_all_buffers = "ba", -- Move buffer to different split (Example: Not enabled by default) move_to_right = "bl", move_to_left = "bh", move_to_down = "bj", move_to_up = "bk", -- Buffer navigation (skips buffers visible in other windows) prev_buffer = "", next_buffer = "", alt_prev_buffer = "", alt_next_buffer = "", -- Split navigation nav_left = "", nav_right = "", nav_down = "", nav_up = "", -- Terminal navigation exit_terminal_mode = "", }, -- Command options commands = { enable = true, prefix = "Pivot", }, } return opts