darkrc/vim/lua/pack/setup/outline.lua

10 lines
251 B
Lua

return function()
vim.keymap.set("n", "<leader>o", "<cmd>OutlineOpen<CR><cmd>OutlineFocus<CR>", { desc = "Toggle Outline" })
require("outline").setup {
outline_window = {
position = "left";
width = 20;
relative_width = false;
};
}
end