update README.md
This commit is contained in:
parent
739e34922d
commit
b8372bca3d
22
README.md
22
README.md
|
@ -21,6 +21,10 @@ Relevant stuff:
|
||||||
It also works on copy mode, but requires *tmux 2.2* or newer to properly take
|
It also works on copy mode, but requires *tmux 2.2* or newer to properly take
|
||||||
the scroll position into account.
|
the scroll position into account.
|
||||||
|
|
||||||
|
Additionally, you can install
|
||||||
|
[tmux-yank](https://github.com/tmux-plugins/tmux-yank) for system clipboard
|
||||||
|
integration.
|
||||||
|
|
||||||
# Requirements
|
# Requirements
|
||||||
|
|
||||||
* bash 4+
|
* bash 4+
|
||||||
|
@ -63,11 +67,16 @@ Reload TMUX conf by running:
|
||||||
|
|
||||||
You can change the key that invokes **tmux-fingers**:
|
You can change the key that invokes **tmux-fingers**:
|
||||||
|
|
||||||
|
## @fingers-key
|
||||||
|
|
||||||
|
F is the default key, but you can set another one.
|
||||||
|
|
||||||
```
|
```
|
||||||
# F is the default, but you can set another one
|
|
||||||
set -g @fingers-key F
|
set -g @fingers-key F
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## @fingers-patterns-N
|
||||||
|
|
||||||
You can also add additional patterns if you want more stuff to be highlighted:
|
You can also add additional patterns if you want more stuff to be highlighted:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -85,6 +94,17 @@ NOTE: patterns are case insensitive, and grep's extended syntax should be used.
|
||||||
If the introduced regexp contains an error, an error will be shown when
|
If the introduced regexp contains an error, an error will be shown when
|
||||||
invoking the plugin.
|
invoking the plugin.
|
||||||
|
|
||||||
|
## @fingers-copy-command
|
||||||
|
|
||||||
|
By default **tmux-fingers** will just yank matches using tmux clipboard ( or
|
||||||
|
[tmux-yank](https://github.com/tmux-plugins/tmux-yank) if present ).
|
||||||
|
|
||||||
|
If you still want to set your own custom command you can do so like this:
|
||||||
|
|
||||||
|
```
|
||||||
|
set -g @fingers-copy-command 'xclip -selection clipboard'
|
||||||
|
```
|
||||||
|
|
||||||
# Acknowledgements and inspiration
|
# Acknowledgements and inspiration
|
||||||
|
|
||||||
This plugin is heavily inspired by
|
This plugin is heavily inspired by
|
||||||
|
|
Loading…
Reference in New Issue