Comment 14 for bug 1812387

Revision history for this message
Prasanna Loganathar (pvl) wrote :

I've updated the docker image prasannavl/tmux-launchpad-bug-1812387 to only use ubuntu-repo based tmux-plugin-manager.

It still crashes with "[lost-server]". Same steps as above should work.

**Dockerfile:**

```
FROM ubuntu:18.10

RUN apt update && apt dist-upgrade -y && \
apt install tmux tmux-plugin-manager git tree -y && \
ulimit -c unlimited

COPY tmux.conf "/root/.tmux.conf"
CMD bash
```

**tmux.conf:**

```
# set prefix: Alt + e
set -g prefix M-e
# Let's bind this too, so that repeated
# presses work, esp. when nesting.
bind -n M-e send-prefix

# start window numbering at 1
set -g base-index 1
# start pane numbering at 1
set -g pane-base-index 1

# use mouse
set -g mouse on
setw -g mode-keys vi

# Use Alt-arrow keys WITHOUT PREFIX KEY to switch panes
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D

set -g @scroll-down-exit-copy-mode off
set -g @scroll-without-changing-pane on
set -g @emulate-scroll-for-no-mouse-alternate-buffer on

# plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin 'tmux-plugins/tmux-open'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'nhdaly/tmux-better-mouse-mode'
set -g @plugin 'tmux-plugins/tmux-logging'

run -b "/usr/share/tmux-plugin-manager/tpm"

```