tmux-urlview icon indicating copy to clipboard operation
tmux-urlview copied to clipboard

Not working on tmux 2.2 and OS X Yosemite 10.10.5

Open jonatasbaldin opened this issue 7 years ago • 1 comments

Hi!

I could not use this plugin with tmux 2.2 and OS X Yosemite 10.10.5.

When I use urlview and hit prefix + u it does nothing. If I use extract_url, a panela quickly opens and quits, showing nothing.

How can I troubleshoot this?

Thanks!

jonatasbaldin avatar Sep 24 '16 14:09 jonatasbaldin

Here is my tmux.conf.

# Plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-urlview'

# Set prefix
unbind C-b
set -g prefix C-Space

# Vim style
set-option -g status-keys vi
setw -g mode-keys vi

# Vim style pane navigation
bind-key -r h select-pane -L
bind-key -r j select-pane -D
bind-key -r k select-pane -U
bind-key -r l select-pane -R

# Arrow keys pane navigation
bind-key -r Up select-pane -U
bind-key -r Down select-pane -D
bind-key -r Left select-pane -L
bind-key -r Right select-pane -R

# Resize panes
bind-key < resize-pane -L 5
bind-key > resize-pane -R 5
bind-key + resize-pane -U 5
bind-key - resize-pane -D 5

# Extend message time
set-option -g display-time 2000

# Reload conf
bind r source-file ~/.tmux.conf

# Start windows numering at 1
set-option -g base-index 1
set-window-option -g pane-base-index 1

# Kills scape-time
set -sg escape-time 0

# Disable renaming
set-option -g allow-rename off

# Smart pane switching with awareness of Vim splits.
# See: https://github.com/christoomey/vim-tmux-navigator
is_vim="ps -o state= -o comm= -t '#{pane_tty}' \
    | grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"
bind-key -n C-h if-shell "$is_vim" "send-keys C-h"  "select-pane -L"
bind-key -n C-j if-shell "$is_vim" "send-keys C-j"  "select-pane -D"
bind-key -n C-k if-shell "$is_vim" "send-keys C-k"  "select-pane -U"
bind-key -n C-l if-shell "$is_vim" "send-keys C-l"  "select-pane -R"
bind-key -n C-\ if-shell "$is_vim" "send-keys C-\\" "select-pane -l"

# tmux-continuum
# Automatica restore
set -g @continuum-restore 'on'

# Tmux Plugin Manager
run '~/.tmux/plugins/tpm/tpm'

jonatasbaldin avatar Sep 24 '16 14:09 jonatasbaldin