darkrc/vim/lua/config/outline.lua

11 lines
252 B
Lua
Raw Normal View History

2024-01-11 12:41:17 +00:00
return function()
vim.keymap.set("n", "<leader>o", "<cmd>OutlineOpen<CR><cmd>OutlineFocus<CR>", { desc = "Toggle Outline" })
require("outline").setup {
outline_window = {
position = "right";
2024-01-11 12:41:17 +00:00
width = 20;
relative_width = false;
};
}
end