vim: status line tweaks
This commit is contained in:
parent
648b339ae1
commit
492c5ccfa7
1 changed files with 6 additions and 6 deletions
|
@ -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': '' },
|
||||||
\ }
|
\ }
|
||||||
|
|
Loading…
Add table
Reference in a new issue