-
Notifications
You must be signed in to change notification settings - Fork 455
Open
Description
I'm new to TPM. So it can be that I just don't understand what am I doing wrong.
But I've tried to do everything by the README.md
- Created
~/.tmux
- Cloned TPM filed using
git
- Changed my config
~/.tmux.conf
to add plugins I want. - Ran plugin installation.
- Re-sourced the config
- Exited and ran
tmux
again.
Here's how it looks for me:
My current tmux config:
There are a lot of commented lines because I've experimented with tmux before TPM and wrote some status line customization myself. But I commented them to use TPM plugins instead.
#set -g activity-action other
#set -g assume-paste-time 1
#set -g base-index 0
#set -g bell-action any
#set -g default-command ""
#set -g default-shell "/bin/zsh"
#set -g default-size "80x24"
#set -g destroy-unattached off
#set -g detach-on-destroy on
#set -g display-panes-active-colour red
#set -g display-panes-colour blue
#set -g display-panes-time 1000
#set -g display-time 750
#set -g history-limit 10000
#set -g key-table "root"
#set -g lock-after-time 0
#set -g lock-command "lock -np"
#set -g message-command-style fg=yellow,bg=black
#set -g message-style fg=black,bg=yellow
#set -g mouse off
#set -g prefix C-b
#set -g prefix2 None
#set -g renumber-windows off
#set -g repeat-time 500
#set -g set-titles off
#set -g set-titles-string "#S:#I:#W - \"#T\" #{session_alerts}"
#set -g silence-action other
set -g status on
set -g status-bg green
set -g status-fg black
#disabled for TPM
#set -g status-format[0] "#[align=left range=left #{status-left-style}]#{T;=/#{status-left-length}:status-left}#[norange default]#[list=on align=#{status-justify}]#[list=left-marker]<#[list=right-marker]>#[list=on]#{W:#[range=window|#{window_index} #{window-status-style}#{?#{&&:#{window_last_flag},#{!=:#{window-status-last-style},default}}, #{window-status-last-style},}#{?#{&&:#{window_bell_flag},#{!=:#{window-status-bell-style},default}}, #{window-status-bell-style},#{?#{&&:#{||:#{window_activity_flag},#{window_silence_flag}},#{!=:#{window-status-activity-style},default}}, #{window-status-activity-style},}}]#{T:window-status-format}#[norange default]#{?window_end_flag,,#{window-status-separator}},#[range=window|#{window_index} list=focus #{?#{!=:#{window-status-current-style},default},#{window-status-current-style},#{window-status-style}}#{?#{&&:#{window_last_flag},#{!=:#{window-status-last-style},default}}, #{window-status-last-style},}#{?#{&&:#{window_bell_flag},#{!=:#{window-status-bell-style},default}}, #{window-status-bell-style},#{?#{&&:#{||:#{window_activity_flag},#{window_silence_flag}},#{!=:#{window-status-activity-style},default}}, #{window-status-activity-style},}}]#{T:window-status-current-format}#[norange list=on default]#{?window_end_flag,,#{window-status-separator}}}#[nolist align=right range=right #{status-right-style}]#{T;=/#{status-right-length}:status-right}#[norange default]"
#set -g status-format[1] "#[align=centre]#{P:#{?pane_active,#[reverse],}#{pane_index}[#{pane_width}x#{pane_height}]#[default] }"
#set -g status-interval 15
set -g status-justify left
set -g status-keys emacs
set -g status-left "[#S] "
set -g status-left-length 10
set -g status-left-style default
set -g status-position bottom
# %d-%b-%y %H:%M
#set -g status-right "#{?window_bigger,[#{window_offset_x}#,#{window_offset_y}] ,}\"#{=21:pane_title}\" [#(sensors | fgrep 'Tctl:' | awk '{print $2}' | head -n1)][#(free -h --giga | fgrep -i 'mem:' | awk '{print $3 \"/\" $2}')][#(cat /proc/loadavg | awk '{print $1, $2, $3}')][%d %b %H:%M]"
set -g status-right-length 80
set -g status-right-style default
set -g status-style fg=black,bg=green
set -g update-environment[0] "DISPLAY"
set -g update-environment[1] "KRB5CCNAME"
set -g update-environment[2] "SSH_ASKPASS"
set -g update-environment[3] "SSH_AUTH_SOCK"
set -g update-environment[4] "SSH_AGENT_PID"
set -g update-environment[5] "SSH_CONNECTION"
set -g update-environment[6] "WINDOWID"
set -g update-environment[7] "XAUTHORITY"
set -g visual-activity off
set -g visual-bell on
set -g visual-silence off
#set -g word-separators " -_@"
# TPM
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# enabled
set -g @plugin 'tmux-git-autofetch'
set -g @plugin 'tmux-mighty-scroll'
#set -g @plugin 'tmux-nerd-font-window-name'
set -g @plugin 'tmux-notify'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-sidebar'
set -g @plugin 'tmux-window-name'
set -g @plugin 'tmux-wormhole'
#set -g @plugin 'tmux-cpu'
set -g @plugin 'tmux-mem-cpu-load'
set -g @plugin 'tmux-net-speed'
#set -g @net_speed_interfaces "enp17s0f0 enp17s0f1"
set -g @net_speed_interfaces "enp17s0f1"
set -g @plugin 'tmux-prefix-highlight'
set -g @plugin 'tmux-acpi'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'github_username/plugin_name#branch'
# set -g @plugin '[email protected]:user/plugin'
# set -g @plugin '[email protected]:user/plugin'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
Now when I use prefix
+ I
I see following:
Already installed "tpm" [0/0]
Already installed "tmux-sensible"
Installing "tmux-git-autofetch"
"tmux-git-autofetch" download fail
Installing "tmux-mighty-scroll"
"tmux-mighty-scroll" download fail
Installing "tmux-notify"
"tmux-notify" download fail
Already installed "tmux-resurrect"
Installing "tmux-sidebar"
"tmux-sidebar" download fail
Installing "tmux-window-name"
"tmux-window-name" download fail
Installing "tmux-wormhole"
"tmux-wormhole" download fail
Installing "tmux-mem-cpu-load"
"tmux-mem-cpu-load" download fail
Installing "tmux-net-speed"
"tmux-net-speed" download fail
Installing "tmux-prefix-highlight"
"tmux-prefix-highlight" download fail
Installing "tmux-acpi"
"tmux-acpi" download fail
TMUX environment reloaded.
Done, press ESCAPE to continue.
If I check what's in the ~/.tmux
directory, I'll see this:
$ tree ~/.tmux -L 2
/home/skobkin/.tmux
└── plugins
├── tmux-resurrect
├── tmux-sensible
└── tpm
If I do prefix
+ U
it'll show me the following:
Installed plugins: [0/0]
tpm
tmux-sensible
tmux-resurrect
Type plugin name to update it.
- "all" - updates all plugins
- ENTER - cancels
tpm_is_not_working.md
also doesn't seem to have anything for my case.
Metadata
Metadata
Assignees
Labels
No labels