diff options
author | Jesse Luehrs <doy@tozt.net> | 2017-01-21 05:40:10 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2017-01-21 06:37:31 -0500 |
commit | aff278c597c48d05c634ba6563177de967d3fe84 (patch) | |
tree | 414222d463750dd5ac020afcec86241cb144fdd7 | |
parent | 61e487df8884b942c5d05160e813a2afbf226b31 (diff) | |
download | conf-aff278c597c48d05c634ba6563177de967d3fe84.tar.gz conf-aff278c597c48d05c634ba6563177de967d3fe84.zip |
add anyframe plugin
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | peco/config.json | 11 | ||||
m--------- | zsh/anyframe | 0 | ||||
-rw-r--r-- | zshrc | 6 |
5 files changed, 21 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules index b989915..8c8cf94 100644 --- a/.gitmodules +++ b/.gitmodules @@ -103,3 +103,6 @@ [submodule "zsh/k"] path = zsh/k url = https://github.com/supercrabtree/k +[submodule "zsh/anyframe"] + path = zsh/anyframe + url = https://github.com/mollifier/anyframe @@ -48,6 +48,7 @@ INSTALL = agignore \ mpdscribble \ ncmpc \ offlineimap \ + peco \ procmail \ services \ sh \ diff --git a/peco/config.json b/peco/config.json new file mode 100644 index 0000000..dc34efd --- /dev/null +++ b/peco/config.json @@ -0,0 +1,11 @@ +{ + "Keymap": { + "Tab": "peco.SelectDown", + "M-[,Z": "peco.SelectUp" + }, + "Style": { + "SavedSelection": ["white", "on_yellow", "bold"], + "Selected": ["black", "on_cyan"], + "Matched": ["red", "bold"] + } +} diff --git a/zsh/anyframe b/zsh/anyframe new file mode 160000 +Subproject 4c23cb60aa9654cff6212fb01dce6d8028993ba @@ -85,6 +85,12 @@ ZSH_HIGHLIGHT_STYLES[assign]='fg=cyan' source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=black,bold' # }}} +# anyframe {{{ +fpath=(~/.zsh/anyframe $fpath) +autoload -Uz anyframe-init +anyframe-init +bindkey '^R' anyframe-widget-put-history +# }}} # opp {{{ source ~/.zsh/opp/opp.zsh opp_operators+=("e" opp-vi-change) |