Skip to content

Commit

Permalink
Included basic key mapping into Readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
grrlopes committed Aug 21, 2023
1 parent 6e1a723 commit a1616eb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@

You can conveniently explore and interact with your command-line history, making it easier to recall past commands, analyze usage patterns, and improve your workflow in the terminal.

## ⌨️ Button Mapping
| Key | Event |
|-----------------|---------------------------|
| k, ↑ | up |
| ctr+d, → | page right |
| j, ↓ | down |
| ctr+s, ← | page left |
| enter | select event |
| esc | back |
| s | sync/load history file |

## Set up
- You must set up ```export storydb=$(tty)``` in your global variable profile that is usually located at /etc/profile or $HOME
- Your bash/zsh history file should be set up as ``` export HISTFILE=$HOME/.bash_history``` or ```export HISTFILE=$HOME/.zsh_history```
Expand Down

0 comments on commit a1616eb

Please sign in to comment.