add outline display
This commit is contained in:
parent
6bc886c290
commit
8150dbace2
1 changed files with 28 additions and 0 deletions
|
|
@ -182,6 +182,19 @@
|
|||
};
|
||||
|
||||
auto-session.enable = true;
|
||||
|
||||
aerial = {
|
||||
enable = true;
|
||||
settings = {
|
||||
backends = ["treesitter"];
|
||||
layout = {
|
||||
min_width = 30;
|
||||
default_direction = "right";
|
||||
};
|
||||
show_guides = true;
|
||||
filter_kind = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Extra plugins that don't have dedicated modules
|
||||
|
|
@ -201,6 +214,20 @@
|
|||
options = { desc = "Toggle file explorer"; };
|
||||
}
|
||||
|
||||
# Aerial outline
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>h";
|
||||
action = ":AerialToggle<CR>";
|
||||
options = { desc = "Toggle outline sidebar"; };
|
||||
}
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>s";
|
||||
action = ":Telescope aerial<CR>";
|
||||
options = { desc = "Search symbols"; };
|
||||
}
|
||||
|
||||
# Basic keymaps
|
||||
{
|
||||
mode = "n";
|
||||
|
|
@ -329,6 +356,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
telescope.load_extension('aerial')
|
||||
|
||||
-- OSC-52 clipboard integration (matches tmux setup, works with Ghostty)
|
||||
-- This enables clipboard functionality across SSH, tmux, and multi-platform
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue