Tmuxline configurations
This commit is contained in:
@ -63,7 +63,7 @@ endfunction"}}}
|
||||
"}}}
|
||||
set laststatus=2 " Basic
|
||||
set noshowmode " Disable show mode info
|
||||
augroup lightlineCustom
|
||||
augroup CustomLightline
|
||||
autocmd!
|
||||
autocmd BufWritePost * call lightline_gitdiff#query_git() | call lightline#update()
|
||||
augroup END
|
||||
|
34
nvim/plugins
34
nvim/plugins
@ -1,16 +1,28 @@
|
||||
" Assorted plugins
|
||||
Plug 'tpope/vim-surround'
|
||||
Plug 'tpope/vim-fugitive'
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'} " Git status is provided by coc-git
|
||||
Plug 'neoclide/coc-git'
|
||||
Plug 'cespare/vim-toml'
|
||||
Plug 'itchyny/lightline.vim'
|
||||
Plug 'itchyny/vim-gitbranch'
|
||||
Plug 'edkolev/tmuxline.vim'
|
||||
|
||||
" CoC
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'} |
|
||||
\ Plug 'neoclide/coc-git'
|
||||
|
||||
" Lightline
|
||||
Plug 'itchyny/lightline.vim' |
|
||||
\ Plug 'itchyny/vim-gitbranch' |
|
||||
\ Plug 'macthecadillac/lightline-gitdiff' |
|
||||
\ Plug 'albertomontesg/lightline-asyncrun' |
|
||||
\ Plug 'anstadnik/tmuxline.vim'
|
||||
" Using the above fork for lightline truecolor support
|
||||
" \ Plug 'edkolev/tmuxline.vim'
|
||||
|
||||
" NerdTree
|
||||
Plug 'preservim/nerdtree' |
|
||||
\ Plug 'Xuyuanp/nerdtree-git-plugin' |
|
||||
\ Plug 'ryanoasis/vim-devicons' |
|
||||
\ Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
|
||||
|
||||
" sonokai colorscheme + supporting plugins
|
||||
Plug 'sainnhe/artify.vim'
|
||||
Plug 'macthecadillac/lightline-gitdiff'
|
||||
Plug 'albertomontesg/lightline-asyncrun'
|
||||
Plug 'rmolin88/pomodoro.vim'
|
||||
Plug 'ryanoasis/vim-devicons'
|
||||
Plug 'sainnhe/sonokai'
|
||||
Plug 'sainnhe/sonokai' |
|
||||
\ Plug 'sainnhe/artify.vim' |
|
||||
\ Plug 'rmolin88/pomodoro.vim'
|
||||
|
23
nvim/tmuxline
Normal file
23
nvim/tmuxline
Normal file
@ -0,0 +1,23 @@
|
||||
let g:tmuxline_separators = {
|
||||
\ 'left' : '',
|
||||
\ 'left_alt': '',
|
||||
\ 'right' : '',
|
||||
\ 'right_alt' : '',
|
||||
\ 'space' : ' '}
|
||||
|
||||
let g:tmuxline_preset = {
|
||||
\'a' : '#S',
|
||||
\'b' : '%R',
|
||||
\'c' : '#{sysstat_mem} 祝#{upload_speed}',
|
||||
\'win' : '#I #W',
|
||||
\'cwin' : '#I #W',
|
||||
\'x' : '#{download_speed} #{sysstat_cpu}',
|
||||
\'y' : '%a',
|
||||
\'z' : '#H #{prefix_highlight}',
|
||||
\'options' : {'status-justify' : 'centre'}}
|
||||
|
||||
augroup CustomTmuxline
|
||||
autocmd!
|
||||
autocmd InsertEnter * silent! Tmuxline lightline_insert
|
||||
autocmd InsertLeave * silent! Tmuxline lightline
|
||||
augroup END
|
Reference in New Issue
Block a user