From b8372bca3dcb7d956b3acfb3107d069c56867383 Mon Sep 17 00:00:00 2001 From: Jorge Morante Date: Sat, 14 May 2016 09:45:43 +0200 Subject: [PATCH] update README.md --- README.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c9c400d..77bc8fa 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,10 @@ Relevant stuff: It also works on copy mode, but requires *tmux 2.2* or newer to properly take the scroll position into account. +Additionally, you can install +[tmux-yank](https://github.com/tmux-plugins/tmux-yank) for system clipboard +integration. + # Requirements * bash 4+ @@ -63,11 +67,16 @@ Reload TMUX conf by running: 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 ``` +## @fingers-patterns-N + 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 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 This plugin is heavily inspired by