tab to spaces
This commit is contained in:
parent
95f88dee38
commit
4b624195d3
2 changed files with 45 additions and 45 deletions
86
.tmux.conf
86
.tmux.conf
|
@ -437,10 +437,10 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
|
|||
# username=$(ps -t "$tty" -o user= -o pid= -o ppid= -o command= | awk '
|
||||
# !/ssh/ { user[$2] = $1; ppid[$3] = 1 }
|
||||
# END {
|
||||
# for (i in user)
|
||||
# if (!(i in ppid))
|
||||
# for (i in user)
|
||||
# if (!(i in ppid))
|
||||
# {
|
||||
# print user[i]
|
||||
# print user[i]
|
||||
# exit
|
||||
# }
|
||||
# }
|
||||
|
@ -556,11 +556,11 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
|
|||
# tmux_conf_theme_24b_colour=${tmux_conf_theme_24b_colour:-false}
|
||||
# if _is_enabled "$tmux_conf_theme_24b_colour"; then
|
||||
# case "$TERM" in
|
||||
# screen-*|tmux-*)
|
||||
# ;;
|
||||
# *)
|
||||
# tmux set-option -ga terminal-overrides ",$TERM:Tc"
|
||||
# ;;
|
||||
# screen-*|tmux-*)
|
||||
# ;;
|
||||
# *)
|
||||
# tmux set-option -ga terminal-overrides ",$TERM:Tc"
|
||||
# ;;
|
||||
# esac
|
||||
# fi
|
||||
# }
|
||||
|
@ -858,53 +858,53 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
|
|||
# -v attr_="$tmux_conf_theme_status_right_attr" \
|
||||
# -v mainsep="$tmux_conf_theme_right_separator_main" \
|
||||
# -v subsep="$tmux_conf_theme_right_separator_sub" '
|
||||
# function subsplit(s, l, i, a, r)
|
||||
# {
|
||||
# l = split(s, a, ",")
|
||||
# for (i = 1; i <= l; ++i)
|
||||
# {
|
||||
# o = split(a[i], _, "(") - 1
|
||||
# c = split(a[i], _, ")") - 1
|
||||
# open += o - c
|
||||
# o_ = split(a[i], _, "{") - 1
|
||||
# c_ = split(a[i], _, "}") - 1
|
||||
# open_ += o_ - c_
|
||||
# function subsplit(s, l, i, a, r)
|
||||
# {
|
||||
# l = split(s, a, ",")
|
||||
# for (i = 1; i <= l; ++i)
|
||||
# {
|
||||
# o = split(a[i], _, "(") - 1
|
||||
# c = split(a[i], _, ")") - 1
|
||||
# open += o - c
|
||||
# o_ = split(a[i], _, "{") - 1
|
||||
# c_ = split(a[i], _, "}") - 1
|
||||
# open_ += o_ - c_
|
||||
# o__ = split(a[i], _, "[") - 1
|
||||
# c__ = split(a[i], _, "]") - 1
|
||||
# open__ += o__ - c__
|
||||
#
|
||||
# if (i == l)
|
||||
# r = sprintf("%s%s", r, a[i])
|
||||
# else if (open || open_ || open__)
|
||||
# r = sprintf("%s%s,", r, a[i])
|
||||
# else
|
||||
# r = sprintf("%s%s#[fg=%s,bg=%s,%s]%s", r, a[i], fg[j], bg[j], attr[j], subsep)
|
||||
# }
|
||||
# else if (open || open_ || open__)
|
||||
# r = sprintf("%s%s,", r, a[i])
|
||||
# else
|
||||
# r = sprintf("%s%s#[fg=%s,bg=%s,%s]%s", r, a[i], fg[j], bg[j], attr[j], subsep)
|
||||
# }
|
||||
#
|
||||
# gsub(/#\[inherit\]/, sprintf("#[default]#[fg=%s,bg=%s,%s]", fg[j], bg[j], attr[j]), r)
|
||||
# return r
|
||||
# }
|
||||
# BEGIN {
|
||||
# FS = "|"
|
||||
# l1 = split(fg_, fg, ",")
|
||||
# l2 = split(bg_, bg, ",")
|
||||
# l3 = split(attr_, attr, ",")
|
||||
# l = l1 < l2 ? (l1 < l3 ? l1 : l3) : (l2 < l3 ? l2 : l3)
|
||||
# }
|
||||
# {
|
||||
# for (i = j = 1; i <= NF; ++i)
|
||||
# {
|
||||
# if (open_ || open || open__)
|
||||
# printf "|%s", subsplit($i)
|
||||
# else
|
||||
# printf "#[fg=%s,bg=%s,none]%s#[fg=%s,bg=%s,%s]%s", bg[j], (i == 1) ? "default" : bg[j_], mainsep, fg[j], bg[j], attr[j], subsplit($i)
|
||||
# return r
|
||||
# }
|
||||
# BEGIN {
|
||||
# FS = "|"
|
||||
# l1 = split(fg_, fg, ",")
|
||||
# l2 = split(bg_, bg, ",")
|
||||
# l3 = split(attr_, attr, ",")
|
||||
# l = l1 < l2 ? (l1 < l3 ? l1 : l3) : (l2 < l3 ? l2 : l3)
|
||||
# }
|
||||
# {
|
||||
# for (i = j = 1; i <= NF; ++i)
|
||||
# {
|
||||
# if (open_ || open || open__)
|
||||
# printf "|%s", subsplit($i)
|
||||
# else
|
||||
# printf "#[fg=%s,bg=%s,none]%s#[fg=%s,bg=%s,%s]%s", bg[j], (i == 1) ? "default" : bg[j_], mainsep, fg[j], bg[j], attr[j], subsplit($i)
|
||||
#
|
||||
# if (!open && !open_ && !open__)
|
||||
# {
|
||||
# j_ = j
|
||||
# j = j % l + 1
|
||||
# }
|
||||
# }
|
||||
# j = j % l + 1
|
||||
# }
|
||||
# }
|
||||
# }' << EOF
|
||||
# $tmux_conf_theme_status_right
|
||||
# EOF
|
||||
|
|
|
@ -90,7 +90,7 @@ tmux_conf_theme_status_attr='none'
|
|||
|
||||
# window status style
|
||||
# - built-in variables are:
|
||||
# - #{circled_window_index}
|
||||
# - #{circled_window_index}
|
||||
tmux_conf_theme_window_status_fg='#8a8a8a' # light gray
|
||||
tmux_conf_theme_window_status_bg='#080808' # dark gray
|
||||
tmux_conf_theme_window_status_attr='none'
|
||||
|
@ -100,7 +100,7 @@ tmux_conf_theme_window_status_format='#I #W'
|
|||
|
||||
# window current status style
|
||||
# - built-in variables are:
|
||||
# - #{circled_window_index}
|
||||
# - #{circled_window_index}
|
||||
tmux_conf_theme_window_status_current_fg='#000000' # black
|
||||
tmux_conf_theme_window_status_current_bg='#00afff' # light blue
|
||||
tmux_conf_theme_window_status_current_attr='bold'
|
||||
|
|
Loading…
Reference in a new issue