summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2017-01-21 05:40:10 -0500
committerJesse Luehrs <doy@tozt.net>2017-01-21 06:37:31 -0500
commitaff278c597c48d05c634ba6563177de967d3fe84 (patch)
tree414222d463750dd5ac020afcec86241cb144fdd7
parent61e487df8884b942c5d05160e813a2afbf226b31 (diff)
downloadconf-aff278c597c48d05c634ba6563177de967d3fe84.tar.gz
conf-aff278c597c48d05c634ba6563177de967d3fe84.zip
add anyframe plugin
-rw-r--r--.gitmodules3
-rw-r--r--Makefile1
-rw-r--r--peco/config.json11
m---------zsh/anyframe0
-rw-r--r--zshrc6
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
diff --git a/Makefile b/Makefile
index f707b7e..d7202ef 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/zshrc b/zshrc
index ead866a..15689bf 100644
--- a/zshrc
+++ b/zshrc
@@ -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)