Making keys documentation convention consistent.

This commit is contained in:
Martin Dvorak 2019-12-16 22:34:15 +01:00
parent 8209dc7eb4
commit 5953729c2a
3 changed files with 7 additions and 7 deletions

View file

@ -338,7 +338,7 @@ hstr --show-configuration >> ~/.bashrc
. ~/.bashrc
```
Make sure to **run** HSTR using <kbd>Ctrl</kbd><kbd>r</kbd> (or `hstrwsl`) - otherwise commands will not appear in prompt.
Make sure to **run** HSTR using <kbd>Ctrl-r</kbd> (or `hstrwsl`) - otherwise commands will not appear in prompt.
[Configure](CONFIGURATION.md) HSTR and check its [man page](README.md#documentation).
@ -369,7 +369,7 @@ hstr --show-configuration >> ~/.bashrc
. ~/.bashrc
```
Make sure to **run** HSTR using <kbd>Ctrl</kbd><kbd>r</kbd> (or `hstrcygwin`) - otherwise commands will not appear in prompt.
Make sure to **run** HSTR using <kbd>Ctrl-r</kbd> (or `hstrcygwin`) - otherwise commands will not appear in prompt.
[Configure](CONFIGURATION.md) HSTR and check its [man page](README.md#documentation).
## Build on macOS

View file

@ -18,7 +18,7 @@ again? Are you looking for a tool that is able to manage your
HSTR (**H**i**ST**o**R**y) is a command line utility that brings improved Bash/zsh command completion
from the history. It aims to make completion **easier** and more **efficient**
than <kbd>Ctrl</kbd><kbd>r</kbd>.
than <kbd>Ctrl-r</kbd>.
HSTR can also **manage** your command history (for instance you can remove
commands that are obsolete or contain a piece of sensitive information)

View file

@ -18,7 +18,7 @@ Table of contents:
* Examples
# Features
HSTR is typically started by pressing <kbd>Ctrl</kbd><kbd>r</kbd> after
HSTR is typically started by pressing <kbd>Ctrl-r</kbd> after
you configure it for this shorcut in your shell. However,
you can run it as a normal program just by typing:
@ -71,10 +71,10 @@ HSTR allows you to store and manage your favorite
commands.
A new favorite command can be added from
ranking or raw history view by pressing <kbd>Ctrl</kbd><kbd>f</kbd>.
ranking or raw history view by pressing <kbd>Ctrl-f</kbd>.
You can check your favorite commands by choosing
favorite view - rotate views using <kbd>Ctrl</kbd><kbd>/</kbd> or start
favorite view - rotate views using <kbd>Ctrl-/</kbd> or start
HSTR by adding `favorites-view` to `HSTR_CONFIG` environment
property. A favorite command can be choosen just
by pressing `ENTER` when on command in favorite view.
@ -138,7 +138,7 @@ hstr --kill-last-command
```
See configuration section for how to bind this functionality to
a key - bound to <kbd>Ctrl</kbd><kbd>x</kbd> <kbd>k</kbd> by default.
a key - bound to <kbd>Ctrl-k</kbd> by default.
# Examples