home archives github knives links
tags linux powerline
categories
only title title and content
powerline配置

本文中的powerline指的是

sudo apt-get install python3-pip
python3 -m pip install powerline-status
{
"colors":
{
"0": 0,
"1": 1,
"2": 2,
"3": 3,
"4": 4,
"5": 5,
"6": 6,
"7": 7,
"8": 8,
"9": 9
}
}
{
"segments": {
"left": [
{
"function": "powerline.segments.vim.plugin.capslock.capslock_indicator",
"include_modes": ["i", "R", "Rv"],
"priority": 10
},
{
"function": "branch",
"exclude_modes": ["nc"],
"priority": 30
},
{
"function": "readonly_indicator",
"draw_soft_divider": false,
"after": " "
},
{
"function": "file_scheme",
"priority": 20
},
{
"function": "powerline.segments.shell.cwd",
"priority": 60
}
]
}
}