From 200d0f6f0e398e95285192094491005b11f16b05 Mon Sep 17 00:00:00 2001 From: Junet Hossain Date: Tue, 2 Sep 2025 13:02:55 +0300 Subject: [PATCH] .vimrc updated - airline --- .vimrc | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/.vimrc b/.vimrc index 8324931..4c11e7e 100644 --- a/.vimrc +++ b/.vimrc @@ -156,11 +156,11 @@ call plug#begin() Plug 'tpope/vim-fugitive' " A popular Git Wrapper. Plug 'tpope/vim-speeddating' " A plugin that allow you to quickly adjust dates. Plug 'vim-airline/vim-airline' " A lightweight and customizable status line. + Plug 'vim-airline/vim-airline-themes' " Themes for airline Plug 'vim-scripts/c.vim' " A packages of tools for C and C++. Plug 'vimwiki/vimwiki' " A personal wiki plugin for Vim. Plug 'voldikss/vim-floaterm' " A plugin for floating terminal inside vim. Plug 'tpope/vim-commentary' " Commenting tool - Plug 'vim-airline/vim-airline-themes' " Themes for airline Plug 'vim-scripts/DoxygenToolkit.vim' " Doxygen support Plug 'vim-scripts/SpellCheck' " Spell checking Plug 'ludovicchabant/vim-gutentags' " for tag managements for projects @@ -227,9 +227,11 @@ autocmd BufRead,BufNewFile *.c,*.cpp,*.h,*.hpp call SetClangTidyConfig() " Set this. Airline will handle the rest. let g:airline#extensions#ale#enabled = 1 +let g:airline_theme = 'dark' - +" For mbbill/undotree: quick undo access +nmap :UndotreeToggle " For tpope/vim-fugitive - git integration. @@ -244,7 +246,10 @@ nnoremap gdv :Gvdiffsplit nnoremap gdh :Gdiffsplit -" For airblade/vim-gitgutter - git status reporting line by line +" vim-airline:vim-airline: the status line for vim +let g:airline_powerline_fonts = 1 + + " For preservim/nerdtree: the battle tested file explorer @@ -286,6 +291,27 @@ let g:rainbow_active = 1 "set to 0 if you want to enable it later via :RainbowTo + +" habamax/vim-asciidoctor: Asciidoctor tools for vim +let g:asciidoctor_folding = 1 +let g:asciidoctor_fold_options = 1 +let g:asciidoctor_fenced_languages = ['vim', 'sh', 'python', 'c', 'javascript'] + + + + +" voldikss/vim-floaterm: floating terminal +nnoremap :FloatermToggle! +augroup FloatermMapping + autocmd! + autocmd FileType floaterm nnoremap :FloatermToggle + autocmd FileType floaterm inoremap :FloatermToggle +augroup end +tnoremap :FloatermToggle + + + + " For gtags and gtags_plus configuration " enable gtags module let g:gutentags_modules = ['ctags', 'gtags_cscope']