https://github.com/danielfgray/tmux-fzf-urls
Parses tmux panes for urls and displays them in fzf
https://github.com/danielfgray/tmux-fzf-urls
fzf tmux tpm url
Last synced: about 1 year ago
JSON representation
Parses tmux panes for urls and displays them in fzf
- Host: GitHub
- URL: https://github.com/danielfgray/tmux-fzf-urls
- Owner: DanielFGray
- License: gpl-3.0
- Created: 2017-05-03T03:37:30.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-03T05:47:06.000Z (about 9 years ago)
- Last Synced: 2025-04-09T20:12:12.014Z (about 1 year ago)
- Topics: fzf, tmux, tpm, url
- Language: Shell
- Homepage:
- Size: 16.6 KB
- Stars: 22
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tmux-fzf-urls
Parses tmux panes for urls and displays them in [fzf][fzf]
[fzf]: https://github.com/junegunn/fzf
### Installation with [Tmux Plugin Manager][tpm] (recommended)
[tpm]: https://github.com/tmux-plugins/tpm
Add plugin to the list of TPM plugins in your `.tmux.conf`:
``` tmux
set -g @plugin 'DanielFGray/tmux-fzf-urls'
```
Hit `prefix + I` to fetch the plugin and source it. You should now be able to use the plugin.
### Manual Installation
Clone the repo:
``` sh
git clone https://github.com/DanielFGray/tmux-fzf-urls ~/clone/path
```
Add this line to the bottom of `.tmux.conf`:
``` tmux
run-shell ~/clone/path/tmux-fzf-urls/fzf-urls.tmux
```
Reload TMUX environment:
``` sh
# type this in terminal
tmux source-file ~/.tmux.conf
```
You should now be able to use the plugin.
### Configuration
Here are the available configuration settings and their defaults:
``` tmux
# define which key to bind to by default
set -g @fzfurls-key 'C-u'
# how many lines the fzf split should take up
set -g @fzfurls-lines '10'
# what program to open urls with
set -g @fzfurls-cmd 'xdg-open'
# any additional settings to pass to fzf
set -g @fzfurls-fzf-opts ''
```