diff --git a/lua/kulala/ui/init.lua b/lua/kulala/ui/init.lua index ab3286a1..3cd2d3e3 100644 --- a/lua/kulala/ui/init.lua +++ b/lua/kulala/ui/init.lua @@ -74,7 +74,7 @@ end local open_buffer = function() local prev_win = vim.api.nvim_get_current_win() local sd = CONFIG.get().split_direction == "vertical" and "vsplit" or "split" - vim.cmd(sd .. " " .. GLOBALS.UI_ID) + vim.cmd("keepalt ".. sd .. " " .. GLOBALS.UI_ID) if CONFIG.get().winbar then WINBAR.create_winbar(get_win()) end