split percol.load into README and percol_select_history.fish

This commit is contained in:
Osamu OKANO 2013-05-23 19:59:35 +09:00
parent f4255727e0
commit 00a2cef9c6
2 changed files with 15 additions and 0 deletions

7
plugins/percol/README Normal file
View File

@ -0,0 +1,7 @@
Please bind percol_select_history in your favorite key.
If you'd like to bind CTRL+R
function fish_user_key_bindings
bind \cr percol_select_history
end

View File

@ -0,0 +1,8 @@
function percol_select_history
history|percol|read foo
if [ $foo ]
commandline $foo
else
commandline ''
end
end