diff options
| author | Zofia Szweda <sophies@disroot.org> | 2026-09-02 15:13:52 +0200 |
|---|---|---|
| committer | Zofia Szweda <sophies@disroot.org> | 2026-09-02 15:13:52 +0200 |
| commit | 6bbc780dfb1b5109bf3c769eeb8237351e9a56b0 (patch) | |
| tree | d05e402cea11c2f1a498949db3588ae00df25375 /vim/.vimrc | |
| parent | b36402836f4e9ec3daf67060899f524203d40e7c (diff) | |
vim: swap out vim-airline for lightline.vim and add config
Diffstat (limited to 'vim/.vimrc')
| -rw-r--r-- | vim/.vimrc | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -2,9 +2,9 @@ if empty(glob('~/.vim/autoload/plug.vim')) silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim endif - call plug#begin('~/.vim/plugged') -Plug 'vim-airline/vim-airline' +"Plug 'vim-airline/vim-airline' +Plug 'itchyny/lightline.vim' Plug 'mattn/emmet-vim' Plug 'liuchengxu/vim-which-key' Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } @@ -13,13 +13,11 @@ Plug 'kamil-stachowski/flatwhite-vim' Plug 'prabirshrestha/vim-lsp' Plug 'mattn/vim-lsp-settings' Plug 'prabirshrestha/asyncomplete-lsp.vim' -Plug 'vim-airline/vim-airline-themes' Plug 'tpope/vim-vinegar' Plug 'kalbasit/vim-colemak' call plug#end() filetype on -filetype plugin on filetype indent on filetype plugin on set nocompatible @@ -40,8 +38,9 @@ set virtualedit=onemore set timeoutlen=500 set ttimeoutlen=1 set termguicolors +set laststatus=2 +set noshowmode colorscheme flatwhite -let g:airline_theme = 'minimalist' let mapleader = "\<Space>" nnoremap <Space> <Nop> nnoremap <silent> <leader> :WhichKey '<Space>'<CR> @@ -50,7 +49,10 @@ let g:user_emmet_leader_key='<Space>' let g:user_emmet_mode='n' let g:user_emmet_install_global = 0 autocmd FileType html,css EmmetInstall -let g:airline#extensions#tabline#enabled = 1 +let g:lightline = { + \ 'colorscheme': 'one', + \ 'background': 'light', + \ } let g:which_key_map = {} let g:which_key_map.f = ['Files', 'file buffer'] let g:which_key_map.b = { |
