Skip to content

Instantly share code, notes, and snippets.

@joshukraine
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshukraine/5c50a9850919c138463f to your computer and use it in GitHub Desktop.
Save joshukraine/5c50a9850919c138463f to your computer and use it in GitHub Desktop.
My powerline vim theme
// ~/.config/powerline/themes/vim/default.json
{
"segment_data": {
"branch": {
"before": ""
},
"modified_indicator": {
"args": { "text": "+" }
},
"line_percent": {
"args": { "gradient": true },
"after": "%"
},
"line_current_symbol": {
"contents": "Ln "
}
},
"segments": {
"left": [
{
"name": "mode",
"exclude_modes": ["nc"]
},
{
"name": "visual_range",
"exclude_modes": ["nc"],
"priority": 10
},
{
"name": "paste_indicator",
"exclude_modes": ["nc"],
"priority": 10
},
{
"name": "branch",
"exclude_modes": ["nc"],
"priority": 30
},
{
"name": "readonly_indicator",
"draw_soft_divider": false,
"after": " "
},
{
"name": "file_directory",
"priority": 40,
"draw_soft_divider": false
},
{
"name": "file_name",
"draw_soft_divider": false
},
{
"name": "file_vcs_status",
"before": " ",
"draw_soft_divider": false
},
{
"name": "modified_indicator",
"before": " "
},
{
"exclude_modes": ["nc"],
"module": "powerline.segments.plugin.syntastic",
"name": "syntastic",
"priority": 50
},
{
"exclude_modes": ["nc"],
"module": "powerline.segments.plugin.tagbar",
"name": "current_tag",
"draw_soft_divider": false,
"priority": 50
},
{
"type": "string",
"highlight_group": ["background"],
"draw_soft_divider": false,
"draw_hard_divider": false,
"width": "auto"
}
],
"right": [
{
"name": "file_format",
"draw_soft_divider": false,
"exclude_modes": ["nc"],
"priority": 60
},
{
"name": "file_encoding",
"exclude_modes": ["nc"],
"priority": 60
},
{
"name": "file_type",
"exclude_modes": ["nc"],
"priority": 60
},
{
"name": "line_percent",
"priority": 50,
"width": 4,
"align": "r"
},
{
"type": "string",
"name": "line_current_symbol",
"highlight_group": ["line_current_symbol", "line_current"]
},
{
"name": "line_current",
"draw_soft_divider": false,
"width": 3,
"align": "r"
},
{
"name": "virtcol_current",
"draw_soft_divider": false,
"priority": 20,
"before": ":",
"width": 3,
"align": "l"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment