Skip to content

Commit

Permalink
minor UI imporvement for inactive windows buffernum
Browse files Browse the repository at this point in the history
  • Loading branch information
Declan Zhang committed Jun 12, 2018
1 parent ff95a2b commit 90c31f1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ let g:lightline = {
\ },
\ 'inactive': {
\ 'left': [ [ ] ],
\ 'right': [ [ 'relativepath', ],['bufnum']]
\ 'right': [ ['bufnum'], [ 'relativepath', ] ]
\ },
\ 'tabline': {
\ 'left': [ [ 'my_text','tabs' ],[ 'relativepath', ] ],
Expand Down Expand Up @@ -62,15 +62,16 @@ let g:lightline = {
\ 'truncate_start': 'raw',
\ },
\}
" let g:lightline.component_visible_condition = { 'truncate_start': 0, }

"the color scheme variable only available before VimEnter
"Tab_FG_Color,Tab_BG_Color
autocmd VimEnter *
\ let g:lightline#colorscheme#default#palette.tabline.tabsel = [[ '#f62d6c', '#2d2e27', 252, 66, 'bold' ]] |
\ let g:lightline#colorscheme#default#palette.tabline.middle = [[ '#d0d0d0', '#2d2e27', 252, 66, 'bold' ]] |
\ let g:lightline#colorscheme#default#palette.tabline.right = [[ '#606060', '#2d2e27', 252, 66, 'bold' ]] |
\ let g:lightline#colorscheme#default#palette.tabline.left = [[ '#606060', '#2d2e27', 252, 66, 'bold' ]]
" let g:lightline#colorscheme#default#palette.tabline.left = [[ '#606060', '#303030', 252, 66, 'bold' ]]
\ let g:lightline#colorscheme#default#palette.tabline.left = [[ '#606060', '#2d2e27', 252, 66, 'bold' ]] |
\ let g:lightline#colorscheme#default#palette.inactive.right = [[ '#606060', '#202020', 252, 66, 'bold' ]]

function! LightlineReload()
if exists('*lightline#init')
call lightline#init()
Expand Down

0 comments on commit 90c31f1

Please sign in to comment.