From 3eeb4b881723bb955536277aebc4c45a66d3725a Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Sat, 1 Jan 2022 13:41:53 -0500 Subject: [PATCH] Sort vim tagbar by order in source --- vimrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index 5f2d290..ac833b4 100644 --- a/vimrc +++ b/vimrc @@ -637,12 +637,12 @@ endfun " save. So if you make changes to them then you need to manually reload this " file using rv or whatever. :ReloadVimrcError function! DoSingleWrite() - write + write! call s:CreateCtags() endfunction function! DoSingleWriteThenQuit() - write + write! call s:CreateCtags() quit endfunction @@ -797,6 +797,8 @@ let g:localvimrc_ask = 0 " TAGBAR """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" noremap :TagbarToggle +" Sort tags by their order in the source file. Press 's' to sort them alphabetically. +let g:tagbar_sort = 0 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " GITGUTTER