Skip to content

Instantly share code, notes, and snippets.

@valeth
Created February 26, 2018 09:48
Show Gist options
  • Save valeth/b24a18942ddd624eb8477292b6f6ab95 to your computer and use it in GitHub Desktop.
Save valeth/b24a18942ddd624eb8477292b6f6ab95 to your computer and use it in GitHub Desktop.
Powerline
{
"segment_data": {
"time": {
"before": ""
}
}
}
{
"segment_data": {
"mode": {
"args": {
"default": "default",
"override": {
"vicmd": "C",
"viins": "I"
}
}
},
"cwd": {
"args": {
"dir_shorten_len": 3,
"dir_limit_depth": 2
}
}
}
}
{
"segments": {
"right": [
{
"function": "powerline.segments.common.sys.uptime",
"priority": 50
},
{
"function": "powerline.segments.common.sys.system_load",
"priority": 50
},
{
"function": "powerline.segments.common.time.date"
},
{
"function": "powerline.segments.common.time.date",
"name": "time",
"args": {
"format": "%H:%M",
"istime": true
}
},
{
"function": "powerline.segments.common.net.hostname"
}
]
}
}
{
"segment_data": {
"mode": {
"args": {
"override": {
"n": "N",
"c": "C",
"i": "I",
"v": "V",
"V": "VL",
"^V": "VB",
"R": "R"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment