Browse Source

converted tabs to spaces. Closes #59

my-config
Gregory Pakosz 8 years ago
parent
commit
cab561ad61
  1. 86
      .tmux.conf

86
.tmux.conf

@ -438,10 +438,10 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
# username=$(ps -t "$tty" -o user= -o pid= -o ppid= -o command= | awk ' # username=$(ps -t "$tty" -o user= -o pid= -o ppid= -o command= | awk '
# !/ssh/ { user[$2] = $1; ppid[$3] = 1 } # !/ssh/ { user[$2] = $1; ppid[$3] = 1 }
# END { # END {
# for (i in user) # for (i in user)
# if (!(i in ppid)) # if (!(i in ppid))
# { # {
# print user[i] # print user[i]
# exit # exit
# } # }
# } # }
@ -557,11 +557,11 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
# tmux_conf_theme_24b_colour=${tmux_conf_theme_24b_colour:-false} # tmux_conf_theme_24b_colour=${tmux_conf_theme_24b_colour:-false}
# if _is_enabled "$tmux_conf_theme_24b_colour"; then # if _is_enabled "$tmux_conf_theme_24b_colour"; then
# case "$TERM" in # case "$TERM" in
# screen-*|tmux-*) # screen-*|tmux-*)
# ;; # ;;
# *) # *)
# tmux set-option -ga terminal-overrides ",$TERM:Tc" # tmux set-option -ga terminal-overrides ",$TERM:Tc"
# ;; # ;;
# esac # esac
# fi # fi
# } # }
@ -859,53 +859,53 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
# -v attr_="$tmux_conf_theme_status_right_attr" \ # -v attr_="$tmux_conf_theme_status_right_attr" \
# -v mainsep="$tmux_conf_theme_right_separator_main" \ # -v mainsep="$tmux_conf_theme_right_separator_main" \
# -v subsep="$tmux_conf_theme_right_separator_sub" ' # -v subsep="$tmux_conf_theme_right_separator_sub" '
# function subsplit(s, l, i, a, r) # function subsplit(s, l, i, a, r)
# { # {
# l = split(s, a, ",") # l = split(s, a, ",")
# for (i = 1; i <= l; ++i) # for (i = 1; i <= l; ++i)
# { # {
# o = split(a[i], _, "(") - 1 # o = split(a[i], _, "(") - 1
# c = split(a[i], _, ")") - 1 # c = split(a[i], _, ")") - 1
# open += o - c # open += o - c
# o_ = split(a[i], _, "{") - 1 # o_ = split(a[i], _, "{") - 1
# c_ = split(a[i], _, "}") - 1 # c_ = split(a[i], _, "}") - 1
# open_ += o_ - c_ # open_ += o_ - c_
# o__ = split(a[i], _, "[") - 1 # o__ = split(a[i], _, "[") - 1
# c__ = split(a[i], _, "]") - 1 # c__ = split(a[i], _, "]") - 1
# open__ += o__ - c__ # open__ += o__ - c__
# #
# if (i == l) # if (i == l)
# r = sprintf("%s%s", r, a[i]) # r = sprintf("%s%s", r, a[i])
# else if (open || open_ || open__) # else if (open || open_ || open__)
# r = sprintf("%s%s,", r, a[i]) # r = sprintf("%s%s,", r, a[i])
# else # else
# r = sprintf("%s%s#[fg=%s,bg=%s,%s]%s", r, a[i], fg[j], bg[j], attr[j], subsep) # 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) # gsub(/#\[inherit\]/, sprintf("#[default]#[fg=%s,bg=%s,%s]", fg[j], bg[j], attr[j]), r)
# return r # return r
# } # }
# BEGIN { # BEGIN {
# FS = "|" # FS = "|"
# l1 = split(fg_, fg, ",") # l1 = split(fg_, fg, ",")
# l2 = split(bg_, bg, ",") # l2 = split(bg_, bg, ",")
# l3 = split(attr_, attr, ",") # l3 = split(attr_, attr, ",")
# l = l1 < l2 ? (l1 < l3 ? l1 : l3) : (l2 < l3 ? l2 : l3) # l = l1 < l2 ? (l1 < l3 ? l1 : l3) : (l2 < l3 ? l2 : l3)
# } # }
# { # {
# for (i = j = 1; i <= NF; ++i) # for (i = j = 1; i <= NF; ++i)
# { # {
# if (open_ || open || open__) # if (open_ || open || open__)
# printf "|%s", subsplit($i) # printf "|%s", subsplit($i)
# else # 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) # 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__) # if (!open && !open_ && !open__)
# { # {
# j_ = j # j_ = j
# j = j % l + 1 # j = j % l + 1
# } # }
# } # }
# }' << EOF # }' << EOF
# $tmux_conf_theme_status_right # $tmux_conf_theme_status_right
# EOF # EOF

Loading…
Cancel
Save