diff --git a/plugins/peco/README.md b/plugins/peco/README.md deleted file mode 100644 index d8819ca..0000000 --- a/plugins/peco/README.md +++ /dev/null @@ -1,13 +0,0 @@ -peco ----- - -Based directly on the percol plugin. - -Please bind peco_select_history to your favorite key. - -If you'd like to bind CTRL+R -``` -function fish_user_key_bindings - bind \cr 'peco_select_history (commandline -b)' -end -``` diff --git a/plugins/peco/peco_select_history.fish b/plugins/peco/peco_select_history.fish deleted file mode 100644 index 5aad015..0000000 --- a/plugins/peco/peco_select_history.fish +++ /dev/null @@ -1,15 +0,0 @@ -function peco_select_history - if test (count $argv) = 0 - set peco_flags --layout=bottom-up - else - set peco_flags --layout=bottom-up --query "$argv" - end - - history|peco $peco_flags|read foo - - if [ $foo ] - commandline $foo - else - commandline '' - end -end