diff --git a/README.md b/README.md index 7476fea..79930fa 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Press ( prefix + F ) to enter **[fingers]** mode, it will highlight relevant stuff in the current pane along with letter hints. By pressing those letters, the highlighted match -will be yanked. Less keystrokes == profit! +will be copied to the clipboard. Less keystrokes == profit! Here is a list of the stuff highlighted by default. @@ -29,7 +29,11 @@ the scroll position into account. While in **[fingers]** mode, you can use the following shortcuts: -* a-z: yank a highlighted hint. +* a-z: copies selected match to the clipboard +* CTRL + a-z: copies selected match to the clipboard and triggers [@fingers-ctrl-action](#fingers-ctrl-action). By default it triggers `:open:` action, which is useful for opening links in the browser for example. +* SHIFT + a-z: copies selected match to the clipboard and triggers [@fingers-ctrl-action](#fingers-shift-action). By default it triggers `:paste:` action, which automatically pastes selected matches. +* ALT + a-z: copies selected match to the clipboard and triggers [@fingers-alt-action](#fingers-alt-action). There is no default, configurable by the user. +* TAB: toggle multi mode. First press enters multi mode, which allows to select multiple matches. Second press will exit with the selected matches copied to the clipboard. * SPACE: toggle compact hints ( see [@fingers-compact-hints](#fingers-compact-hints) ). * CTRL + c: exit **[fingers]** mode * ESC: exit help or **[fingers]** mode @@ -195,7 +199,7 @@ By default **tmux-fingers** will show hints in a compact format. For example: /path/to/foo/bar/lol [aw] -( _pressing *aw* would yank `/path/to/foo/bar/lol`_ ) +( _pressing *aw* would copy `/path/to/foo/bar/lol`_ ) While in **[fingers]** mode you can press SPACE to toggle compact mode on/off. @@ -237,13 +241,37 @@ Same as above, used when `@fingers-compact-hints` is set to `0`. ## @fingers-highlight-format -`default: "#[fg=yellow,bold,dim]%s"` +`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,bold,dim]%s"` +`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`. diff --git a/scripts/help.sh b/scripts/help.sh index 4fa29f9..aea2be1 100644 --- a/scripts/help.sh +++ b/scripts/help.sh @@ -23,10 +23,10 @@ tmux-fingers ( $FINGERS_VERSION ) help: automatically pastes selected matches. - + a-z: copies selected match to the clipboard and triggers @fingers-alt-action. There is no default, configurable by the user. -- : toggle compact hints on/off - : toggle multi mode. First press enters multi mode, which allows to select multiple matches. Second press will exit with the selected matches copied to the clipboard. +- : toggle compact hints on/off - ?: show/hide this help - , or q: exit [fingers] mode ENDOFHELP