https://github.com/chenlijun99/tmux-fzf
Quickly execute common tmux commands inside fzf.
https://github.com/chenlijun99/tmux-fzf
tmux tmux-plugins
Last synced: 7 months ago
JSON representation
Quickly execute common tmux commands inside fzf.
- Host: GitHub
- URL: https://github.com/chenlijun99/tmux-fzf
- Owner: chenlijun99
- License: unlicense
- Created: 2019-02-15T19:46:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-16T11:02:51.000Z (over 7 years ago)
- Last Synced: 2025-02-09T10:12:05.090Z (over 1 year ago)
- Topics: tmux, tmux-plugins
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# tmux-fzf
Quickly execute common tmux commands inside fzf.
## Usage
### Tmux key bindings
* prefix + f: open fzf fuzzy search window
### FZF window key bindings
* ctrl+d (supports multi selection): kill all the selected windows
* Enter (single selection): switch to the selected window
* ctrl+l (single or double selection): create link window.
If two entries are selected, the first one will be the source window and the second
one the target.
If only one entry is selected, a new window in the current session will be created
and linked to the selected window.
* ctrl+Alt+l (single selection): create link window.
Use the selected window as source window and current window as target window.
### Installation with [Tmux Plugin Manager](https://github.com/tmux-plugins/tpm) (recommended)
Add plugin to the list of TPM plugins in `.tmux.conf`:
```tmux
set -g @plugin 'free-easy/tmux-fzf'
```
Hit `prefix + I` to fetch the plugin and source it.
You should now have all `tmux-fzf` key bindings defined.
### Manual Installation
Clone the repo:
```
$ git clone https://github.com/free-easy/tmux-fzf ~/clone/path
```
Add this line to the bottom of `.tmux.conf`:
run-shell ~/clone/path/tmux-fzf.tmux
Reload TMUX environment:
# type this in terminal
$ tmux source-file ~/.tmux.conf
You should now have all `tmux-fzf` key bindings defined.