@@ -79,23 +79,45 @@ Refresh your tmux server if it's already running.
79
79
80
80
### Binary installation
81
81
82
- Alternatively, instead of installing tmux-fastcopy as a tmux plugin, you can
83
- install it as an independent binary.
82
+ Instead of installing tmux-fastcopy as a tmux plugin,
83
+ you can install it as an independent binary.
84
84
85
- 1 . Download a pre-built binary from the [ releases page] [ ] and place it on your
86
- ` $PATH ` , or if you're using Homebrew/Linuxbrew, run:
85
+ Use one of the following to install the binary.
86
+
87
+ - If you're using ** Homebrew** /Linuxbrew, run:
87
88
88
89
``` bash
89
90
brew install abhinav/tap/tmux-fastcopy
90
91
```
91
92
92
- 2. Add the following to your ` .tmux.conf ` .
93
+ - If you ' re using **ArchLinux**, install it from [AUR](https://aur.archlinux.org/packages/tmux-fastcopy/) .
93
94
95
+ ```bash
96
+ git clone https://aur.archlinux.org/tmux-fastcopy.git
97
+ cd tmux-fastcopy
98
+ makepkg -si
94
99
```
95
- bind-key f run-shell -b tmux-fastcopy
100
+
101
+ Alternatively, with an AUR helper like [yay](https://github.com/Jguer/yay), run:
102
+
103
+ ```bash
104
+ yay -S tmux-fastcopy
96
105
```
97
106
98
- [releases page]: https://github.com/abhinav/tmux-fastcopy/releases
107
+ - Download a **pre-built binary** from the [releases page](https://github.com/abhinav/tmux-fastcopy/releases)
108
+ and place it on your `$PATH`.
109
+
110
+ - Build it from source with Go.
111
+
112
+ ```bash
113
+ go install github.com/abhinav/tmux-fastcopy@latest
114
+ ```
115
+
116
+ Once you have the binary installed, add the following to your `.tmux.conf`.
117
+
118
+ ```
119
+ bind-key f run-shell -b tmux-fastcopy
120
+ ```
99
121
100
122
## Usage
101
123
0 commit comments