David Blume commited on 2021-05-07 16:07:10
Showing 2 changed files, with 7 additions and 6 deletions.
... | ... |
@@ -34,8 +34,9 @@ bind -n M-Down select-pane -D |
34 | 34 |
set -g status-keys vi |
35 | 35 |
set -g status-fg white |
36 | 36 |
set -g status-bg colour235 |
37 |
-set -g status-left-length 20 |
|
38 |
-set -g status-left "#[fg=green]pane #P#[default]" |
|
37 |
+set -g status-left-length 10 |
|
38 |
+#set -g status-left "#[fg=green]pane #P/#{window_panes}#[default]" |
|
39 |
+set -g status-left "#[fg=green]#([ #{window_panes} -gt 1 ] && echo pane #P/#{window_panes})#[default]" |
|
39 | 40 |
set -g status-justify centre |
40 | 41 |
set -g status-right '#[fg=green]%m/%d %H:%M#[default]' |
41 | 42 |
setw -g mode-keys vi |
... | ... |
@@ -341,10 +341,10 @@ let g:airline_symbols.linenr = 'Ξ' |
341 | 341 |
let g:airline_symbols.maxlinenr = '' |
342 | 342 |
|
343 | 343 |
" If no "...for Powerline" font is available, uncomment these four: |
344 |
-"let g:airline_left_sep = '▌' |
|
345 |
-"let g:airline_right_sep = '▐' |
|
346 |
-"let g:airline_left_alt_sep = '|' |
|
347 |
-"let g:airline_right_alt_sep = '|' |
|
344 |
+let g:airline_left_sep = '▌' |
|
345 |
+let g:airline_right_sep = '▐' |
|
346 |
+let g:airline_left_alt_sep = '|' |
|
347 |
+let g:airline_right_alt_sep = '|' |
|
348 | 348 |
|
349 | 349 |
let g:airline_theme = 'powerlineish' |
350 | 350 |
let g:airline#extensions#wordcount#enabled = 0 |
351 | 351 |