remove Aerial

This commit is contained in:
Yan Lin 2026-01-25 18:53:21 +01:00
parent 0442e98502
commit e7bd38a8d4

View file

@ -79,7 +79,7 @@
auto_install = false; auto_install = false;
}; };
grammarPackages = with pkgs.vimPlugins.nvim-treesitter.builtGrammars; [ grammarPackages = with pkgs.vimPlugins.nvim-treesitter.builtGrammars; [
bash c cpp css dockerfile go html javascript json lua markdown nix python rust typescript yaml latex bash c cpp css dockerfile go html javascript json lua markdown nix python rust typescript yaml
]; ];
}; };
@ -169,35 +169,6 @@
auto-session.enable = true; auto-session.enable = true;
aerial = {
enable = true;
settings = {
backends = ["treesitter"];
layout = {
default_direction = "float";
};
float = {
border = "rounded";
relative = "editor";
override.__raw = ''
function(conf)
local target_width = math.floor(vim.o.columns * 0.5)
conf.width = math.min(math.max(86, target_width), math.floor(vim.o.columns * 0.85))
conf.height = math.floor(vim.o.lines * 0.75)
conf.col = math.floor((vim.o.columns - conf.width) / 2)
conf.row = math.floor((vim.o.lines - conf.height) / 2)
return conf
end
'';
};
show_guides = true;
filter_kind = false;
keymaps = {
"<esc>" = "actions.close";
};
};
};
render-markdown = { render-markdown = {
enable = true; enable = true;
settings = { settings = {
@ -325,14 +296,6 @@
options = { desc = "Toggle file explorer"; }; options = { desc = "Toggle file explorer"; };
} }
# Aerial outline
{
mode = "n";
key = "<leader>h";
action = ":AerialToggle<CR>";
options = { desc = "Toggle outline sidebar"; };
}
# Markdown rendering # Markdown rendering
{ {
mode = "n"; mode = "n";
@ -340,13 +303,6 @@
action = ":RenderMarkdown toggle<CR>"; action = ":RenderMarkdown toggle<CR>";
options = { desc = "Toggle markdown rendering"; }; options = { desc = "Toggle markdown rendering"; };
} }
{
mode = "n";
key = "<leader>s";
action = ":Telescope aerial<CR>";
options = { desc = "Search symbols"; };
}
# Basic keymaps # Basic keymaps
{ {
mode = "n"; mode = "n";
@ -428,8 +384,6 @@
} }
}, },
} }
telescope.load_extension('aerial')
-- OSC-52 clipboard integration (matches tmux setup, works with Ghostty) -- OSC-52 clipboard integration (matches tmux setup, works with Ghostty)
-- This enables clipboard functionality across SSH, tmux, and multi-platform -- This enables clipboard functionality across SSH, tmux, and multi-platform
-- Only enabled on Linux; macOS uses native clipboard with "unnamedplus" -- Only enabled on Linux; macOS uses native clipboard with "unnamedplus"