'
```
This command will also receive the following:
* `MODIFIER`: environment variable set to `ctrl`, `alt`, or `shift` specififying which modifier was used when selecting the match.
* `HINT`: environment variable the selected letter hint itself ( ex: `q`, `as`, etc... ).
* `stdin`: copied text will be piped to `@fingers-copy-command`.
You can also use the following special values:
* `:paste:` Copy the the match and paste it automatically.
* `:copy:` Uses built-in system clipboard integration to copy the match.
* `:open:` Uses built-in open file integration to open the file ( opens URLs in default browser, files in OS file navigator, etc ).
## @fingers-ctrl-action
`default: :open:`
Same as [@fingers-main-action](#fingers-main-action) but only called when match is selected by holding ctrl
This option requires `tmux 2.8` or higher.
## @fingers-alt-action
Same as [@fingers-main-action](#fingers-main-action) but only called when match is selected by holding alt
This option requires `tmux 2.8` or higher.
## @fingers-shift-action
`default: :paste:`
Same as [@fingers-main-action](#fingers-main-action) but only called when match is selected by holding shift
## @fingers-copy-command
_DEPRECATED: this option is deprecated, please use [@fingers-main-action](#fingers-main-action) instead_
## @fingers-copy-command-uppercase
_DEPRECATED: this option is deprecated, please use [@fingers-shift-action](#fingers-shift-action) instead_
## @fingers-compact-hints
`default: 1`
By default **tmux-fingers** will show hints in a compact format. For example:
/path/to/foo/bar/lol
with @fingers-compact-hints set to 1:
awath/to/foo/bar/lol
with @fingers-compact-hints set to 0:
/path/to/foo/bar/lol [aw]
( _pressing *aw* would copy `/path/to/foo/bar/lol`_ )
While in **[fingers]** mode you can press SPACE to toggle compact mode on/off.
Compact mode is preferred because it preserves the length of lines and doesn't
cause line wraps, making it easier to follow.
However for small hints this can be troublesome: a path as small as `/a/b`
would have half of its original content concealed. If that's the case you can
quickly toggle off compact mode by pressing SPACE.
## @fingers-hint-position
`default: "left"`
Control the position where the hint is rendered. Possible values are `"left"`
and `"right"`.
## @fingers-hint-position-nocompact
`default: "right"`
Same as above, used when `@fingers-compact-hints` is set to `0`.
## @fingers-hint-format
`default: "#[fg=yellow,bold]%s"`
You can customize the colors using the same syntax used in `.tmux.conf` for
styling the status bar. You'll need to include the `%s` placeholder in your
custom format, that's where the content will be rendered.
Check all supported features [here](https://github.com/morantron/tmux-printer).
## @fingers-hint-format-nocompact
`default: "#[fg=yellow,bold][%s]"`
Same as above, used when `@fingers-compact-hints` is set to `0`.
## @fingers-highlight-format
`default: "#[fg=yellow,nobold,dim]%s"`
Custom format for the highlighted match. See [@fingers-hint-format](#fingers-hint-format) for more details.
## @fingers-highlight-format-nocompact
`default: "#[fg=yellow,nobold,dim]%s"`
Same as above, used when `@fingers-compact-hints` is set to `0`.
## @fingers-selected-hint-format
`default: "#[fg=green,green]%s"`
Format for hints in selected matches in multimode.
## @fingers-selected-hint-format-nocompact
`default: "#[fg=green,bold][%s]"`
Same as above, used when `@fingers-compact-hints` is set to `0`.
## @fingers-selected-highlight-format
`default: "#[fg=green,nobold,dim]%s"`
Format for selected matches in multimode.
## @fingers-selected-hint-format-nocompact
`default: "#[fg=green,nobold,dim][%s]"`
Same as above, used when `@fingers-compact-hints` is set to `0`.
## @fingers-keyboard-layout
`default: "qwerty"`
Hints are generated taking optimal finger movement into account. You can choose between the following:
* `qwerty`: the default, use all letters
* `qwerty-left-hand`: only use letters easily reachable with left hand
* `qwerty-right-hand`: only use letters easily reachable with right hand
* `qwerty-homerow`: only use letters in the homerow
* `qwertz`
* `qwertz-left-hand`
* `qwertz-right-hand`
* `qwertz-homerow`
* `azerty`
* `azerty-left-hand`
* `azerty-right-hand`
* `azerty-homerow`
* `colemak`
* `colemak-left-hand`
* `colemak-right-hand`
* `colemak-homerow`
* `dvorak`
* `dvorak-left-hand`
* `dvorak-right-hand`
* `dvorak-homerow`
# Troubleshooting
If you encounter any problems you can run the following command to automatically detect common problems:
` $ /path/to/tmux-fingers/scripts/health-check.sh`
More info in [health-check.md](./docs/health-check.md)
# Acknowledgements and inspiration
This plugin is heavily inspired by
[tmux-copycat](https://github.com/tmux-plugins/tmux-copycat) ( **tmux-fingers**
predefined search are *copycatted* :trollface: from
[tmux-copycat](https://github.com/tmux-plugins/tmux-copycat) ).
Kudos to [bruno-](https://github.com/bruno-) for paving the way to tmux
plugins! :clap: :clap:
# License
[MIT](https://github.com/Morantron/tmux-fingers/blob/master/LICENSE)