Skip to content

Commit

Permalink
Making keys documentation convention consistent.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvorka committed Dec 16, 2019
1 parent 8209dc7 commit 5953729
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
8 changes: 4 additions & 4 deletions doc/USER-DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5953729

Please sign in to comment.