Now works with Fedora

This commit is contained in:
2024-06-09 04:16:43 -05:00
parent e37dd1be84
commit 314e5c9b8b
662 changed files with 128036 additions and 1568 deletions

View File

@ -0,0 +1,10 @@
{
"segment_data": {
"line_percent": {
"args": {
"gradient": true
},
"after": "%"
}
}
}

View File

@ -0,0 +1,18 @@
{
"segments": {
"left": [
{
"type": "string",
"contents": "Command Line",
"highlight_groups": ["file_name"]
},
{
"type": "string",
"highlight_groups": ["background"],
"draw_soft_divider": false,
"draw_hard_divider": false,
"width": "auto"
}
]
}
}

View File

@ -0,0 +1,128 @@
{
"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": "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": "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_groups": ["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"
},
{
"function": "csv_col_current",
"priority": 30
},
{
"type": "string",
"name": "line_current_symbol",
"highlight_groups": ["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"
}
]
}
}

View File

@ -0,0 +1,36 @@
{
"segments": {
"left": [
{
"function": "file_name",
"draw_soft_divider": false
},
{
"type": "string",
"highlight_groups": ["background"],
"draw_soft_divider": false,
"draw_hard_divider": false,
"width": "auto"
}
],
"right": [
{
"function": "line_percent",
"priority": 30,
"width": 4,
"align": "r"
},
{
"type": "string",
"name": "line_current_symbol",
"highlight_groups": ["line_current_symbol", "line_current"]
},
{
"function": "line_current",
"draw_soft_divider": false,
"width": 3,
"align": "r"
}
]
}
}

View File

@ -0,0 +1,26 @@
{
"segments": {
"left": [
{
"type": "string",
"contents": "Command-T",
"highlight_groups": ["commandt:label"]
},
{
"function": "powerline.segments.vim.plugin.commandt.finder"
},
{
"function": "powerline.segments.vim.plugin.commandt.path"
},
{
"type": "string",
"highlight_groups": ["commandt:background"],
"draw_soft_divider": false,
"draw_hard_divider": false,
"width": "auto"
}
],
"right": [
]
}
}

View File

@ -0,0 +1,18 @@
{
"segments": {
"left": [
{
"type": "string",
"highlight_groups": ["gundo:name", "file_name"],
"contents": "Undo diff"
},
{
"type": "string",
"highlight_groups": ["gundo:background", "background"],
"draw_soft_divider": false,
"draw_hard_divider": false,
"width": "auto"
}
]
}
}

View File

@ -0,0 +1,18 @@
{
"segments": {
"left": [
{
"type": "string",
"highlight_groups": ["gundo:name", "file_name"],
"contents": "Undo tree"
},
{
"type": "string",
"highlight_groups": ["gundo:background", "background"],
"draw_soft_divider": false,
"draw_hard_divider": false,
"width": "auto"
}
]
}
}

View File

@ -0,0 +1,17 @@
{
"default_module": "powerline.segments.vim.plugin.nerdtree",
"segments": {
"left": [
{
"function": "nerdtree"
},
{
"type": "string",
"highlight_groups": ["background"],
"draw_soft_divider": false,
"draw_hard_divider": false,
"width": "auto"
}
]
}
}

View File

@ -0,0 +1,40 @@
{
"segment_data": {
"buffer_name": {
"contents": "Location List"
}
},
"segments": {
"left": [
{
"type": "string",
"name": "buffer_name",
"highlight_groups": ["file_name"]
},
{
"function": "window_title",
"draw_soft_divider": false
},
{
"type": "string",
"highlight_groups": ["background"],
"draw_soft_divider": false,
"draw_hard_divider": false,
"width": "auto"
}
],
"right": [
{
"type": "string",
"name": "line_current_symbol",
"highlight_groups": ["line_current_symbol", "line_current"]
},
{
"function": "line_current",
"draw_soft_divider": false,
"width": 3,
"align": "r"
}
]
}
}

View File

@ -0,0 +1,93 @@
{
"default_module": "powerline.segments.vim",
"segments": {
"left": [
{
"type": "segment_list",
"function": "powerline.listers.vim.tablister",
"exclude_function": "single_tab",
"segments": [
{
"function": "tab"
},
{
"function": "tabnr",
"after": " ",
"priority": 5
},
{
"function": "file_directory",
"priority": 40
},
{
"function": "file_name",
"args": {
"display_no_file": true
},
"priority": 10
},
{
"function": "tab_modified_indicator",
"priority": 5
}
]
},
{
"function": "tab",
"args": {
"end": true
}
},
{
"type": "segment_list",
"function": "powerline.listers.vim.bufferlister",
"include_function": "single_tab",
"segments": [
{
"function": "bufnr",
"after": " ",
"priority": 5
},
{
"function": "file_directory",
"priority": 40
},
{
"function": "file_name",
"args": {
"display_no_file": true
},
"priority": 10
},
{
"function": "modified_indicator",
"priority": 5
}
]
},
{
"type": "string",
"highlight_groups": ["tab:background"],
"draw_soft_divider": false,
"draw_hard_divider": false,
"width": "auto"
}
],
"right": [
{
"type": "string",
"contents": "Bufs",
"name": "single_tab",
"highlight_groups": ["single_tab"],
"include_function": "single_tab"
},
{
"type": "string",
"contents": "Tabs",
"name": "many_tabs",
"highlight_groups": ["many_tabs"],
"exclude_function": "single_tab"
}
]
}
}