You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
120 lines
2.2 KiB
120 lines
2.2 KiB
{
|
|
"segments": {
|
|
"left": [
|
|
{
|
|
"function": "mode",
|
|
"exclude_modes": ["nc"]
|
|
},
|
|
{
|
|
"function": "visual_range",
|
|
"include_modes": ["v", "V", "^V", "s", "S", "^S"],
|
|
"priority": 10
|
|
},
|
|
{
|
|
"function": "paste_indicator",
|
|
"exclude_modes": ["nc"],
|
|
"priority": 10
|
|
},
|
|
{
|
|
"function": "branch",
|
|
"exclude_modes": ["nc"],
|
|
"priority": 30
|
|
},
|
|
{
|
|
"function": "readonly_indicator",
|
|
"draw_soft_divider": false,
|
|
"after": " "
|
|
},
|
|
{
|
|
"function": "file_scheme",
|
|
"priority": 20
|
|
},
|
|
{
|
|
"function": "file_directory",
|
|
"priority": 40,
|
|
"draw_soft_divider": false
|
|
},
|
|
{
|
|
"function": "file_name",
|
|
"draw_soft_divider": false
|
|
},
|
|
{
|
|
"function": "file_vcs_status",
|
|
"before": " ",
|
|
"draw_soft_divider": false
|
|
},
|
|
{
|
|
"function": "modified_indicator",
|
|
"before": " "
|
|
},
|
|
{
|
|
"exclude_modes": ["i", "R", "Rv"],
|
|
"function": "trailing_whitespace",
|
|
"display": false,
|
|
"priority": 60
|
|
},
|
|
{
|
|
"exclude_modes": ["nc"],
|
|
"function": "powerline.segments.vim.plugin.syntastic.syntastic",
|
|
"priority": 50
|
|
},
|
|
{
|
|
"exclude_modes": ["nc"],
|
|
"function": "powerline.segments.vim.plugin.tagbar.current_tag",
|
|
"draw_soft_divider": false,
|
|
"priority": 50
|
|
},
|
|
{
|
|
"type": "string",
|
|
"highlight_group": ["background"],
|
|
"draw_soft_divider": false,
|
|
"draw_hard_divider": false,
|
|
"width": "auto"
|
|
}
|
|
],
|
|
"right": [
|
|
{
|
|
"function": "file_format",
|
|
"draw_soft_divider": false,
|
|
"exclude_modes": ["nc"],
|
|
"priority": 60
|
|
},
|
|
{
|
|
"function": "file_encoding",
|
|
"exclude_modes": ["nc"],
|
|
"priority": 60
|
|
},
|
|
{
|
|
"function": "file_type",
|
|
"exclude_modes": ["nc"],
|
|
"priority": 60
|
|
},
|
|
{
|
|
"function": "line_percent",
|
|
"priority": 50,
|
|
"width": 4,
|
|
"align": "r"
|
|
},
|
|
{
|
|
"type": "string",
|
|
"name": "line_current_symbol",
|
|
"highlight_group": ["line_current_symbol", "line_current"]
|
|
},
|
|
{
|
|
"function": "line_current",
|
|
"draw_soft_divider": false,
|
|
"width": 3,
|
|
"align": "r"
|
|
},
|
|
{
|
|
"function": "virtcol_current",
|
|
"draw_soft_divider": false,
|
|
"priority": 20,
|
|
"before": ":",
|
|
"width": 3,
|
|
"align": "l"
|
|
}
|
|
]
|
|
}
|
|
}
|