Skip to content
This repository has been archived by the owner on Jun 1, 2020. It is now read-only.

Commit

Permalink
Actualización de tmux
Browse files Browse the repository at this point in the history
  • Loading branch information
nanounanue committed May 29, 2020
1 parent 72b4b15 commit 6b2e833
Showing 1 changed file with 50 additions and 14 deletions.
64 changes: 50 additions & 14 deletions tmux.org
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ bind -n C-l send-keys C-l \; run 'sleep 0.1' \; clear-history
#+end_src


Nueva ventana y retiene el /cureent working directory/
Nueva ventana y retiene el /current working directory/

#+begin_src shell
bind c new-window -c "#{pane_current_path}"
Expand Down Expand Up @@ -204,23 +204,52 @@ if "test ! -d ~/.tmux/plugins/tpm" \
**** Listado de /plugins/

#+begin_src shell
set -g @tpm_plugin "
tmux-plugins/tpm \
tmux-plugins/tmux-copycat \
"
set -g @plugin "tmux-plugins/tpm"
set -g @plugin "tmux-plugins/tmux-copycat"
#+end_src


**** Tema
*** Tema

***** [[https://github.com/seebi/tmux-colors-solarized][Solarized]]
#+begin_src shell
# Feel free to NOT use this variables at all (remove, rename)
# this are named colors, just for convenience
color_orange="colour166" # 208, 166
color_purple="colour134" # 135, 134
color_green="colour076" # 070
color_blue="colour39"
color_yellow="colour220"
color_red="colour160"
color_black="colour232"
color_white="white" # 015

# This is a theme CONTRACT, you are required to define variables below
# Change values, but not remove/rename variables itself
color_dark="$color_black"
color_light="$color_white"
color_session_text="$color_blue"
color_status_text="colour245"
color_main="$color_orange"
color_secondary="$color_purple"
color_level_ok="$color_green"
color_level_warn="$color_yellow"
color_level_stress="$color_red"
color_window_off_indicator="colour088"
color_window_off_status_bg="colour238"
color_window_off_status_current_bg="colour254"
#+end_src

#+begin_src shell :tangle no



**** [[https://github.com/seebi/tmux-colors-solarized][Solarized]]

#+begin_src shell
set -g @plugin 'seebi/tmux-colors-solarized'

set -g @colors-solarized '256'
#set -g @colors-solarized '256'
#set -g @colors-solarized 'dark'
#set -g @colors-solarized 'light'
set -g @colors-solarized 'light'
#set -g @colors-solarized 'base16'
#+end_src

Expand All @@ -239,6 +268,13 @@ setw -g window-status-format "#[bg=NONE]#[fg=colour240] #I #[bg=NONE]#[fg=colour
setw -g window-status-current-format "#[fg=colour246]#[bg=NONE] #I #[bg=NONE]#[fg=colour246] #W#F "
#+end_src

#+begin_src shell
#setw -g window-status-style "fg=$color_status_text,bg=$color_dark"
#setw -g window-status-format "tmux: #I #W "
#setw -g window-status-current-style "fg=$color_light,bold,bg=$color_main"
#setw -g window-status-current-format "#[fg=$color_dark,bg=$color_main]$separator_powerline_right#[default] #I:#W# #[fg=$color_main,bg=$color_dark]$separator_powerline_right#[default]"
#+end_src



#+begin_src shell
Expand Down Expand Up @@ -282,7 +318,7 @@ set -g status-left ' #[fg=colour2]★'

# right status and color
set -g status-right-length 40
set -g status-right '#[fg=colour3]%a %v %l:%M %p'
set -g status-right '#[fg=colour3]%a %h-%d %H:%M'
#+end_src

*** Renovar el environment
Expand Down Expand Up @@ -357,9 +393,9 @@ if-shell 'test -n "$SSH_CLIENT"' \
bind -T root F12 \
set prefix None \;\
set key-table off \;\
#set status-style "fg=$color_status_text,bg=$color_window_off_status_bg" \;\
#set window-status-current-format "#[fg=$color_window_off_status_bg,bg=$color_window_off_status_current_bg]$separator_powerline_right#[default] #I:#W# #[fg=$color_window_off_status_current_bg,bg=$color_window_off_status_bg]$separator_powerline_right#[default]" \;\
#set window-status-current-style "fg=$color_dark,bold,bg=$color_window_off_status_current_bg" \;\
set status-style "fg=$color_status_text,bg=$color_window_off_status_bg" \;\
set window-status-current-format "#[fg=$color_window_off_status_bg,bg=$color_window_off_status_current_bg]$separator_powerline_right#[default] #I:#W# #[fg=$color_window_off_status_current_bg,bg=$color_window_off_status_bg]$separator_powerline_right#[default]" \;\
set window-status-current-style "fg=$color_dark,bold,bg=$color_window_off_status_current_bg" \;\
if -F '#{pane_in_mode}' 'send-keys -X cancel' \;\
refresh-client -S \;\

Expand Down

0 comments on commit 6b2e833

Please sign in to comment.