mirror of
https://github.com/dvorka/hstr.git
synced 2025-02-23 22:36:34 +08:00
Minor polishing
This commit is contained in:
parent
49a8a9e9fc
commit
69b0500f87
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ https://github.com/dvorka/hstr/releases
|
|||
INSTALLATION
|
||||
------------
|
||||
* bind `hh` to a key and/or add it to $PATH
|
||||
* bind hh to a BASH key by adding a line to your `.bashrc`, e.g. Ctrl-R:
|
||||
* bind `hh` to a BASH key by adding a line to your `.bashrc`, e.g. Ctrl-R:
|
||||
|
||||
`bind '"\C-r": "\C-k\C-uhh\C-j"'`
|
||||
|
||||
|
@ -32,7 +32,7 @@ INSTALLATION
|
|||
|
||||
To determine the character sequence emitted by a pressed key in terminal,
|
||||
type CTRL-v and then press the key. For example, F12 gives `^[[24~`.
|
||||
Replace the `^[` with \e. To clear the line first, add `\C-k \C-u` in front of
|
||||
Replace the `^[` with `\e`. To clear the line first, add `\C-k \C-u` in front of
|
||||
the actual command. Check your current bindings using:
|
||||
|
||||
`bind -S`
|
||||
|
|
Loading…
Reference in a new issue