default.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. {
  2. "segments": {
  3. "left": [
  4. {
  5. "function": "mode",
  6. "exclude_modes": ["nc"]
  7. },
  8. {
  9. "function": "visual_range",
  10. "include_modes": ["v", "V", "^V", "s", "S", "^S"],
  11. "priority": 10
  12. },
  13. {
  14. "function": "paste_indicator",
  15. "exclude_modes": ["nc"],
  16. "priority": 10
  17. },
  18. {
  19. "function": "branch",
  20. "exclude_modes": ["nc"],
  21. "priority": 30
  22. },
  23. {
  24. "function": "readonly_indicator",
  25. "draw_soft_divider": false,
  26. "after": " "
  27. },
  28. {
  29. "function": "file_scheme",
  30. "priority": 20
  31. },
  32. {
  33. "function": "file_directory",
  34. "priority": 40,
  35. "draw_soft_divider": false
  36. },
  37. {
  38. "function": "file_name",
  39. "draw_soft_divider": false
  40. },
  41. {
  42. "function": "file_vcs_status",
  43. "before": " ",
  44. "draw_soft_divider": false
  45. },
  46. {
  47. "function": "modified_indicator",
  48. "before": " "
  49. },
  50. {
  51. "exclude_modes": ["i", "R", "Rv"],
  52. "function": "trailing_whitespace",
  53. "display": false,
  54. "priority": 60
  55. },
  56. {
  57. "exclude_modes": ["nc"],
  58. "function": "powerline.segments.vim.plugin.syntastic.syntastic",
  59. "priority": 50
  60. },
  61. {
  62. "exclude_modes": ["nc"],
  63. "function": "powerline.segments.vim.plugin.tagbar.current_tag",
  64. "draw_soft_divider": false,
  65. "priority": 50
  66. },
  67. {
  68. "type": "string",
  69. "highlight_group": ["background"],
  70. "draw_soft_divider": false,
  71. "draw_hard_divider": false,
  72. "width": "auto"
  73. }
  74. ],
  75. "right": [
  76. {
  77. "function": "file_format",
  78. "draw_soft_divider": false,
  79. "exclude_modes": ["nc"],
  80. "priority": 60
  81. },
  82. {
  83. "function": "file_encoding",
  84. "exclude_modes": ["nc"],
  85. "priority": 60
  86. },
  87. {
  88. "function": "file_type",
  89. "exclude_modes": ["nc"],
  90. "priority": 60
  91. },
  92. {
  93. "function": "line_percent",
  94. "priority": 50,
  95. "width": 4,
  96. "align": "r"
  97. },
  98. {
  99. "type": "string",
  100. "name": "line_current_symbol",
  101. "highlight_group": ["line_current_symbol", "line_current"]
  102. },
  103. {
  104. "function": "line_current",
  105. "draw_soft_divider": false,
  106. "width": 3,
  107. "align": "r"
  108. },
  109. {
  110. "function": "virtcol_current",
  111. "draw_soft_divider": false,
  112. "priority": 20,
  113. "before": ":",
  114. "width": 3,
  115. "align": "l"
  116. }
  117. ]
  118. }
  119. }