From 752dbcbe2d6e344b8f317a2ad79913c692acf24b Mon Sep 17 00:00:00 2001 From: jdhao Date: Sun, 5 Dec 2021 14:33:59 +0800 Subject: [PATCH] remove mentioning of vim-airline --- README.md | 2 +- autoload/utils.vim | 6 ------ core/options.vim | 2 +- docs/README.md | 6 ++---- 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 0bd1117..e73b102 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ is guaranteed.** + Smarter and faster matching pair management (add, replace or delete) via [vim-sandwich](https://github.com/machakann/vim-sandwich). + Fast buffer jump via [hop.nvim](https://github.com/phaazon/hop.nvim). + Ultra fast snippet insertion via [Ultisnips](https://github.com/SirVer/ultisnips). -+ Beautiful status line via [vim-airline](https://github.com/vim-airline/vim-airline). ++ Beautiful status line via [lualine.nvim](https://github.com/nvim-lualine/lualine.nvim). + Better quickfix list with [nvim-bqf](https://github.com/kevinhwang91/nvim-bqf). + Show search index and count with [nvim-hlslens](https://github.com/kevinhwang91/nvim-hlslens). + Command line auto-completion via [wilder.nvim](https://github.com/gelguy/wilder.nvim). diff --git a/autoload/utils.vim b/autoload/utils.vim index d1933a2..d9a8a32 100644 --- a/autoload/utils.vim +++ b/autoload/utils.vim @@ -27,12 +27,6 @@ function! utils#HasColorscheme(name) abort return !empty(globpath(&runtimepath, l:pat)) endfunction -" Check if an Airline theme exists in runtimepath. -function! utils#HasAirlinetheme(name) abort - let l:pat = printf('autoload/airline/themes/%s.vim', a:name) - return !empty(globpath(&runtimepath, l:pat)) -endfunction - " Generate random integers in the range [Low, High] in pure vim script, " adapted from https://stackoverflow.com/a/12739441/6064933 function! utils#RandInt(Low, High) abort diff --git a/core/options.vim b/core/options.vim index 3365374..890be36 100644 --- a/core/options.vim +++ b/core/options.vim @@ -76,7 +76,7 @@ set scrolloff=3 set mouse=nic " Enable mouse in several mode set mousemodel=popup " Set the behaviour of mouse -" Do not show mode on command line since vim-airline can show it +" Disable showing current mode on command line since statusline plugins can show it. set noshowmode set fileformats=unix,dos " Fileformats to use for new files diff --git a/docs/README.md b/docs/README.md index f0b3283..3aceffc 100644 --- a/docs/README.md +++ b/docs/README.md @@ -136,10 +136,8 @@ Terminal](https://github.com/microsoft/terminal). ## Font -Since [Vim-airline](https://github.com/vim-airline/vim-airline) uses several -Unicode symbols not available in normal font, we need to install [fonts -here](https://github.com/powerline/fonts) to make vim-airline look pretty. I am using [Hack](https://github.com/powerline/fonts/tree/master/Hack), and it looks -great. Another great resource for programming font is the [nerd-font](https://github.com/ryanoasis/nerd-fonts) project. +Since statusline or file explorer plugins often use Unicode symbols not +available in normal font, we need to install a patched font from the [nerd-fonts](https://github.com/ryanoasis/nerd-fonts) project. # Install Nvim