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

Nothing happens when I press 'o' or 'C-o' #12

Open
spinningarrow opened this issue Sep 7, 2015 · 3 comments
Open

Nothing happens when I press 'o' or 'C-o' #12

spinningarrow opened this issue Sep 7, 2015 · 3 comments

Comments

@spinningarrow
Copy link

I installed this plugin using tpm. I'm on Ubuntu 14.04 and I have xdg-open in my $PATH.
When I select a URL or filename in select mode and press o or C-o, nothing happens.

I was using the vi keybindings but even when I changed it to emacs, nothing happened.

@bruno-
Copy link
Member

bruno- commented Sep 7, 2015

Hey,
if you're using vi key bindings for the copy mode can you please provide the output of the following command:

tmux list-keys -t vi-copy

If you're using emacs key bindings then please paste the output of:

 tmux list-keys -t emacs-copy

@spinningarrow
Copy link
Author

Here you go:

bind-key -t vi-copy    C-b page-up
bind-key -t vi-copy    C-c cancel
bind-key -t vi-copy    C-d halfpage-down
bind-key -t vi-copy    C-e scroll-down
bind-key -t vi-copy    C-f page-down
bind-key -t vi-copy    C-h cursor-left
bind-key -t vi-copy    C-j copy-selection
bind-key -t vi-copy  Enter copy-selection
bind-key -t vi-copy    C-u halfpage-up
bind-key -t vi-copy    C-y scroll-up
bind-key -t vi-copy Escape clear-selection
bind-key -t vi-copy  Space begin-selection
bind-key -t vi-copy      " start-named-buffer
bind-key -t vi-copy      $ end-of-line
bind-key -t vi-copy      , jump-reverse
bind-key -t vi-copy      / search-forward
bind-key -t vi-copy      0 start-of-line
bind-key -t vi-copy      1 start-number-prefix
bind-key -t vi-copy      2 start-number-prefix
bind-key -t vi-copy      3 start-number-prefix
bind-key -t vi-copy      4 start-number-prefix
bind-key -t vi-copy      5 start-number-prefix
bind-key -t vi-copy      6 start-number-prefix
bind-key -t vi-copy      7 start-number-prefix
bind-key -t vi-copy      8 start-number-prefix
bind-key -t vi-copy      9 start-number-prefix
bind-key -t vi-copy      : goto-line
bind-key -t vi-copy      ; jump-again
bind-key -t vi-copy      ? search-backward
bind-key -t vi-copy      A append-selection
bind-key -t vi-copy      B previous-space
bind-key -t vi-copy      D copy-end-of-line
bind-key -t vi-copy      E next-space-end
bind-key -t vi-copy      F jump-backward
bind-key -t vi-copy      G history-bottom
bind-key -t vi-copy      H top-line
bind-key -t vi-copy      J scroll-down
bind-key -t vi-copy      K scroll-up
bind-key -t vi-copy      L bottom-line
bind-key -t vi-copy      M middle-line
bind-key -t vi-copy      N search-reverse
bind-key -t vi-copy      T jump-to-backward
bind-key -t vi-copy      V select-line
bind-key -t vi-copy      W next-space
bind-key -t vi-copy      ^ back-to-indentation
bind-key -t vi-copy      b previous-word
bind-key -t vi-copy      e next-word-end
bind-key -t vi-copy      f jump-forward
bind-key -t vi-copy      g history-top
bind-key -t vi-copy      h cursor-left
bind-key -t vi-copy      j cursor-down
bind-key -t vi-copy      k cursor-up
bind-key -t vi-copy      l cursor-right
bind-key -t vi-copy      n search-again
bind-key -t vi-copy      o other-end
bind-key -t vi-copy      q cancel
bind-key -t vi-copy      t jump-to-forward
bind-key -t vi-copy      v rectangle-toggle
bind-key -t vi-copy      w next-word
bind-key -t vi-copy BSpace cursor-left
bind-key -t vi-copy  NPage page-down
bind-key -t vi-copy  PPage page-up
bind-key -t vi-copy     Up cursor-up
bind-key -t vi-copy   Down cursor-down
bind-key -t vi-copy   Left cursor-left
bind-key -t vi-copy  Right cursor-right
bind-key -t vi-copy   C-Up scroll-up
bind-key -t vi-copy C-Down scroll-down

@lwchadderdon
Copy link

In case it's helpful for first-time tpm users like myself, I saw these symptoms as well and realized that I needed to tell tpm to install the plugins first with prefix + I, which runs the ~/.tmux/plugins/tpm/bindings/install_plugins command. After that tmux-open works fine in vi and emacs copy modes.

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

3 participants