Shrink vim side panels
This commit is contained in:
parent
8e94f1c836
commit
4000cea465
3 changed files with 13 additions and 5 deletions
|
@ -28,11 +28,7 @@ use {
|
|||
end
|
||||
};
|
||||
{
|
||||
"hedyhli/outline.nvim",
|
||||
config = function()
|
||||
vim.keymap.set("n", "<leader>o", "<cmd>OutlineOpen<CR><cmd>OutlineFocus<CR>", { desc = "Toggle Outline" })
|
||||
require("outline").setup()
|
||||
end
|
||||
"hedyhli/outline.nvim", config = require 'pack.setup.outline';
|
||||
};
|
||||
{ 'jinh0/eyeliner.nvim', config = function()
|
||||
require('eyeliner').setup {
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
return function()
|
||||
require('neo-tree').setup {
|
||||
window = {
|
||||
width = 25;
|
||||
};
|
||||
filesystem = {
|
||||
use_libuv_file_watcher = true;
|
||||
};
|
||||
|
|
9
vim/lua/pack/setup/outline.lua
Normal file
9
vim/lua/pack/setup/outline.lua
Normal 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
|
Loading…
Reference in a new issue