Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on tmux 2.2 and OS X Yosemite 10.10.5 #17

Open
jonatasbaldin opened this issue Sep 24, 2016 · 1 comment
Open

Not working on tmux 2.2 and OS X Yosemite 10.10.5 #17

jonatasbaldin opened this issue Sep 24, 2016 · 1 comment

Comments

@jonatasbaldin
Copy link

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
Copy link
Author

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant