Skip to content
This repository has been archived by the owner on Dec 26, 2021. It is now read-only.

Commit

Permalink
perf: use lightline instead of airline to improve performance
Browse files Browse the repository at this point in the history
  • Loading branch information
wongjiahau committed Oct 26, 2020
1 parent 73bdfa2 commit 89f04d2
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions init.vim
Expand Up @@ -19,8 +19,7 @@ Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-surround'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'itchyny/lightline.vim'
Plug 'terryma/vim-multiple-cursors'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Expand Down Expand Up @@ -102,8 +101,15 @@ set nofoldenable
let javaScript_fold=1
set hlsearch
set incsearch
set ttimeoutlen=0

let g:airline_extensions = ['branch','term', 'tabline']
let g:airline_powerline_fonts = 1
let g:airline#extensions#tabline#show_splits = 0
set ttimeoutlen=10

let g:lightline = {
\ 'colorscheme': 'wombat',
\ 'active': {
\ 'left': [ [ 'mode', 'paste' ],
\ [ 'gitbranch', 'readonly', 'filename', 'modified' ] ]
\ },
\ 'component_function': {
\ 'gitbranch': 'FugitiveHead'
\ },
\ }

0 comments on commit 89f04d2

Please sign in to comment.