From b73a9ff41b05634951319a988eab21da99c03cc9 Mon Sep 17 00:00:00 2001 From: Xinqi Bao Date: Fri, 2 Oct 2026 01:12:37 +0800 Subject: [PATCH 1/1] refactor(nvim): replace Tagbar and Gutentags with Aerial Use the default Aerial setup and upstream Space-a toggle for a current-file outline. Preserve the existing tags lookup setting and keep Coc independent. --- .config/nvim/init.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 472bca5..b138edb 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -79,8 +79,7 @@ call plug#begin() Plug 'preservim/nerdtree' Plug 'christoomey/vim-tmux-navigator' Plug 'mbbill/undotree' - Plug 'majutsushi/tagbar' - Plug 'ludovicchabant/vim-gutentags' + Plug 'stevearc/aerial.nvim' " Development Plug 'nvim-treesitter/nvim-treesitter' @@ -144,8 +143,9 @@ if has_key(plugs, 'undotree') nnoremap u :UndotreeToggle endif -if has_key(plugs, 'tagbar') - nnoremap t :TagbarToggle +if has_key(plugs, 'aerial.nvim') + lua require('aerial').setup() + nnoremap a AerialToggle! endif " Development -- 2.20.1