Skip to content

Commit 8a04911

Browse files
authored
Release v0.13.0 (#167)
Release v0.13 with multi-selection support. Adds an entry about multi-select to the readme.
1 parent c095617 commit 8a04911

File tree

6 files changed

+42
-0
lines changed

6 files changed

+42
-0
lines changed

.changes/v0.13.0.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## v0.13.0 - 2023-09-14
2+
### Added
3+
- Add support for multiple selections. Press `Tab` after invoking tmux-fastcopy to enter multi-select mode.
4+
5+
Thanks to @hansmansson for their contribution to this release.

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
66
and is generated by [Changie](https://github.com/miniscruff/changie).
77

8+
## v0.13.0 - 2023-09-14
9+
### Added
10+
- Add support for multiple selections. Press `Tab` after invoking tmux-fastcopy to enter multi-select mode.
11+
12+
Thanks to @hansmansson for their contribution to this release.
13+
814
## v0.12.0 - 2023-06-18
915
### Added
1016
- Actions are now run with `FASTCOPY_TARGET_PANE_ID` set to the ID of the pane

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
- [Introduction](#introduction)
44
- [Installation](#installation)
55
- [Usage](#usage)
6+
- [Multiple selections](#multiple-selections)
67
- [Options](#options)
78
- [`@fastcopy-key`](#fastcopy-key)
89
- [`@fastcopy-action`](#fastcopy-action)
@@ -161,6 +162,7 @@ When there is text on the screen you'd like to copy:
161162
1. Press `<prefix> + f` to invoke tmux-fastcopy. (You can change this key by
162163
setting the [`@fastcopy-key`](#fastcopy-key) option.)
163164
2. Enter the label next to the highlighted text to copy that text.
165+
(You can also [select multiple items](#multiple-selections).)
164166

165167
For example,
166168

@@ -180,6 +182,20 @@ set-option -g @fastcopy-action 'tmux load-buffer -w -'
180182
See [How to copy text to the clipboard?](#copy-text-to-the-clipboard) for older versions of
181183
tmux.
182184

185+
### Multiple selections
186+
187+
tmux-fastcopy also supports a multi-selection mode.
188+
To select multiple items:
189+
190+
1. Press `<prefix> + f` to invoke tmux-fastcopy as usual.
191+
2. Press `Tab`. This enters multi-selection mode.
192+
3. Enter all the labels for text you want to copy.
193+
If you selected something accidentally,
194+
enter that label again to deselect it.
195+
4. Press `Tab` or `Enter` to accept your selections.
196+
197+
tmux-fastcopy will join your selections together and copy the result.
198+
183199
## Options
184200

185201
### `@fastcopy-key`

doc/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
- [Introduction](intro.md)
44
- [Installation](install.md)
55
- [Usage](usage.md)
6+
- [Multiple selections](multi-select.md)
67
- Options
78
- [`@fastcopy-key`](opt-key.md)
89
- [`@fastcopy-action`](opt-action.md)

doc/multi-select.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Multiple selections
2+
3+
tmux-fastcopy also supports a multi-selection mode.
4+
To select multiple items:
5+
6+
1. Press `<prefix> + f` to invoke tmux-fastcopy as usual.
7+
2. Press `Tab`. This enters multi-selection mode.
8+
3. Enter all the labels for text you want to copy.
9+
If you selected something accidentally,
10+
enter that label again to deselect it.
11+
4. Press `Tab` or `Enter` to accept your selections.
12+
13+
tmux-fastcopy will join your selections together and copy the result.

doc/usage.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ When there is text on the screen you'd like to copy:
55
1. Press `<prefix> + f` to invoke tmux-fastcopy. (You can change this key by
66
setting the [`@fastcopy-key`](opt-key.md) option.)
77
2. Enter the label next to the highlighted text to copy that text.
8+
(You can also [select multiple items](multi-select.md).)
89

910
For example,
1011

0 commit comments

Comments
 (0)