Shrink vim side panels

This commit is contained in:
Talia 2024-01-11 13:41:17 +01:00
parent 8e94f1c836
commit 4000cea465
3 changed files with 13 additions and 5 deletions

View file

@ -28,11 +28,7 @@ use {
end end
}; };
{ {
"hedyhli/outline.nvim", "hedyhli/outline.nvim", config = require 'pack.setup.outline';
config = function()
vim.keymap.set("n", "<leader>o", "<cmd>OutlineOpen<CR><cmd>OutlineFocus<CR>", { desc = "Toggle Outline" })
require("outline").setup()
end
}; };
{ 'jinh0/eyeliner.nvim', config = function() { 'jinh0/eyeliner.nvim', config = function()
require('eyeliner').setup { require('eyeliner').setup {

View file

@ -1,5 +1,8 @@
return function() return function()
require('neo-tree').setup { require('neo-tree').setup {
window = {
width = 25;
};
filesystem = { filesystem = {
use_libuv_file_watcher = true; use_libuv_file_watcher = true;
}; };

View file

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