vim: status line tweaks

This commit is contained in:
Fernando Schauenburg 2021-08-30 11:43:01 +02:00
parent 648b339ae1
commit 492c5ccfa7

View file

@ -98,22 +98,22 @@ call plug#begin('$XDG_DATA_HOME/nvim/plugged')
let g:lightline = { let g:lightline = {
\ 'colorscheme': 'solarized', \ 'colorscheme': 'solarized',
\ 'active': { \ 'active': {
\ 'left': [['mode','paste'],[],['path']], \ 'left': [['mode','paste'],[],['ro','modified','path']],
\ 'right': [['percent'],['lineinfo'],['ro','modified','ft','fenc','ff']], \ 'right': [['percent'],['lineinfo'],['ft','fenc','ff']],
\ }, \ },
\ 'inactive': { \ 'inactive': {
\ 'left': [['paste','ro','modified'],['path']], \ 'left': [['paste'],['ro','modified','path']],
\ 'right': [['percent'],['lineinfo'],['ro','modified']], \ 'right': [['percent'],['lineinfo']],
\ }, \ },
\ 'component': { \ 'component': {
\ 'fenc': '%{&fenc!=#""?&fenc:&enc}', \ 'fenc': '%{&fenc!=#""?&fenc:&enc}',
\ 'ff': '%{&ff}', \ 'ff': '%{&ff}',
\ 'ft': '%{&ft!=#""?&ft:"?"}', \ 'ft': '%{&ft!=#""?&ft:"?"}',
\ 'modified': '%m', \ 'modified': '%M',
\ 'paste': '%{&paste?"PASTE":""}', \ 'paste': '%{&paste?"PASTE":""}',
\ 'path': '%f', \ 'path': '%f',
\ 'percent': '%3p%%×%L', \ 'percent': '%3p%%×%L',
\ 'ro': '%r', \ 'ro': '%R',
\ }, \ },
\ 'subseparator': { 'left': '', 'right': '' }, \ 'subseparator': { 'left': '', 'right': '' },
\ } \ }