Add airline-theme packages

This commit is contained in:
wunewww 2024-05-05 10:07:38 +08:00
parent ca0d0ec9ff
commit 78b7977a90
3 changed files with 4 additions and 83 deletions

3
.gitmodules vendored
View File

@ -37,3 +37,6 @@
[submodule "pack/plugin/opt/airline"] [submodule "pack/plugin/opt/airline"]
path = pack/plugin/opt/airline path = pack/plugin/opt/airline
url = https://github.com/vim-airline/vim-airline url = https://github.com/vim-airline/vim-airline
[submodule "pack/plugin/opt/airline-themes"]
path = pack/plugin/opt/airline-themes
url = https://github.com/vim-airline/vim-airline-themes.git

@ -0,0 +1 @@
Subproject commit a9aa25ce323b2dd04a52706f4d1b044f4feb7617

View File

@ -1,83 +0,0 @@
" This is vimrc basic settings.
" Settings could be overwrited by modifying ../vimrc
" env variables
if has('win32') || has('win64')
let g:CONFIGPATH = $USERPROFILE . '/vimfiles'
elseif has('unix')
let g:CONFIGPATH = $HOME . '/.vim'
endif
filetype plugin indent on " Load plugins according to detected filetype.
syntax on " Enable syntax highlighting.
set autoindent " Indent according to previous line.
set expandtab " Use spaces instead of tabs.
set softtabstop =4 " Tab key indents by 4 spaces.
set shiftwidth =4 " >> indents by 4 spaces.
set shiftround " >> indents to next multiple of 'shiftwidth'.
set backspace =indent,eol,start " Make backspace work as you would expect.
set hidden " Switch between buffers without having to save first.
set laststatus =2 " Always show statusline.
set display =lastline " Show as much as possible of the last line.
set showmode " Show current mode in command-line.
set showcmd " Show already typed keys when more are expected.
set incsearch " Highlight while searching with / or ?.
set hlsearch " Keep matches highlighted.
set ttyfast " Faster redrawing.
set lazyredraw " Only redraw when necessary.
set splitbelow " Open new windows below the current window.
set splitright " Open new windows right of the current window.
set cursorline " Find the current line quickly.
set wrapscan " Searches wrap around end-of-file.
set report =0 " Always report changed lines.
set synmaxcol =200 " Only highlight the first 200 columns.
set list " Show non-printable characters.
if has('multi_byte') && &encoding ==# 'utf-8'
let &listchars = 'tab:▸ ,extends:,precedes:,nbsp:±'
else
let &listchars = 'tab:> ,extends:>,precedes:<,nbsp:.'
endif
" The fish shell is not very compatible to other shells and unexpectedly
" breaks things that use 'shell'.
if &shell =~# 'fish$'
set shell=/bin/bash
endif
if has('win32')
set shell=pwsh.exe
set shellcmdflag=-command
set shellquote=\"
set shellxquote=
endif
" Put all temporary files under the same directory.
" https://github.com/mhinz/vim-galore#temporary-files
set backup
set backupext =-vimbackup
set backupskip =
set updatecount =100
set undofile
if exists('g:CONFIGPATH')
execute 'set undodir=' . escape(g:CONFIGPATH, ' \') . '/undo/'
execute 'set directory=' . escape(g:CONFIGPATH, ' \') . '/swap/'
execute 'set backupdir=' . escape(g:CONFIGPATH, ' \') . '/backup/'
endif
" set textwidth =80
set updatetime =300
set signcolumn =yes
set smartcase
set foldmethod =manual