feat(tmux): move */- session and window prefix before indicator
Some checks are pending
quality / changes (push) Waiting to run
quality / Nix Format Check (push) Blocked by required conditions
quality / Deadnix Check (push) Blocked by required conditions
quality / Statix Check (push) Blocked by required conditions
quality / Lua Format Check (push) Blocked by required conditions
quality / Lua Lint Check (push) Blocked by required conditions
quality / Prettier Format Check (push) Blocked by required conditions
Some checks are pending
quality / changes (push) Waiting to run
quality / Nix Format Check (push) Blocked by required conditions
quality / Deadnix Check (push) Blocked by required conditions
quality / Statix Check (push) Blocked by required conditions
quality / Lua Format Check (push) Blocked by required conditions
quality / Lua Lint Check (push) Blocked by required conditions
quality / Prettier Format Check (push) Blocked by required conditions
This commit is contained in:
parent
3329bafb65
commit
44641ca4ae
3 changed files with 6 additions and 6 deletions
|
|
@ -69,7 +69,7 @@
|
||||||
"src": "https://github.com/catgoose/nvim-colorizer.lua"
|
"src": "https://github.com/catgoose/nvim-colorizer.lua"
|
||||||
},
|
},
|
||||||
"nvim-lspconfig": {
|
"nvim-lspconfig": {
|
||||||
"rev": "f386df19b145607a33885b6110ef5c04faae42cb",
|
"rev": "1d13d2b0df9a0a02904c76d7ad6810f71d404406",
|
||||||
"src": "https://github.com/neovim/nvim-lspconfig"
|
"src": "https://github.com/neovim/nvim-lspconfig"
|
||||||
},
|
},
|
||||||
"nvim-surround": {
|
"nvim-surround": {
|
||||||
|
|
@ -105,4 +105,4 @@
|
||||||
"src": "https://github.com/tpope/vim-sleuth"
|
"src": "https://github.com/tpope/vim-sleuth"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -114,15 +114,15 @@ bar)
|
||||||
fi
|
fi
|
||||||
star="#{?#{==:#S,$sname},*,}"
|
star="#{?#{==:#S,$sname},*,}"
|
||||||
[ -n "$bar_content" ] && bar_content="$bar_content │ "
|
[ -n "$bar_content" ] && bar_content="$bar_content │ "
|
||||||
bar_content="$bar_content#[range=session|${sid}]$key:$sname$star#[norange]"
|
bar_content="$bar_content#[range=session|${sid}]${star}$key:$sname#[norange]"
|
||||||
i=$((i + 1))
|
i=$((i + 1))
|
||||||
done
|
done
|
||||||
set +f
|
set +f
|
||||||
tmux set -g status-left-length 80
|
tmux set -g status-left-length 80
|
||||||
tmux set -g status-right-length 80
|
tmux set -g status-right-length 80
|
||||||
tmux set -g status-left ' '
|
tmux set -g status-left ' '
|
||||||
tmux set -g window-status-format '#[range=window|#{window_index}]#{window_index}:#{window_name}#{window_flags}#[norange]'
|
tmux set -g window-status-format '#[range=window|#{window_index}]#{?window_last_flag,-,}#{window_index}:#{window_name}#[norange]'
|
||||||
tmux set -g window-status-current-format '#[range=window|#{window_index}]#{window_index}:#{window_name}#{window_flags}#[norange]'
|
tmux set -g window-status-current-format '#[range=window|#{window_index}]*#{window_index}:#{window_name}#[norange]'
|
||||||
tmux set -g window-status-separator ' │ '
|
tmux set -g window-status-separator ' │ '
|
||||||
tmux set -g @bar-content "$indicator $bar_content "
|
tmux set -g @bar-content "$indicator $bar_content "
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue