diff --git a/plugins/hstr/README.md b/plugins/hstr/README.md new file mode 100644 index 000000000..d2934f2cf --- /dev/null +++ b/plugins/hstr/README.md @@ -0,0 +1,5 @@ +# hstr plugin + +This is a helper plugin for https://github.com/dvorka/hstr + +Includes necessary aliases and key bindings for hstr in ZSH. diff --git a/plugins/hstr/hstr.plugin.zsh b/plugins/hstr/hstr.plugin.zsh new file mode 100644 index 000000000..71612ce0f --- /dev/null +++ b/plugins/hstr/hstr.plugin.zsh @@ -0,0 +1,4 @@ +alias hh=hstr # hh to be alias for hstr +export HISTFILE=~/.zsh_history # ensure history file visibility +export HSTR_CONFIG=hicolor # get more colors +bindkey -s "\C-r" "\eqhstr\n" # bind hstr to Ctrl-r (for Vi mode check doc)