X-Git-Url: https://src.twobees.de/?a=blobdiff_plain;ds=sidebyside;f=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Fcopybuffer%2Fcopybuffer.plugin.zsh;fp=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Fcopybuffer%2Fcopybuffer.plugin.zsh;h=0000000000000000000000000000000000000000;hb=1a8e170bbe5c6641a26ab1ce2e6ce6c5c1faa4cd;hp=e67f920f031b382596144b2ebb8e03022530881b;hpb=475ba35502579302593f4735c853c49ef1845dcb;p=dotfiles.git diff --git a/stow/oh-my-zsh/.oh-my-zsh/plugins/copybuffer/copybuffer.plugin.zsh b/stow/oh-my-zsh/.oh-my-zsh/plugins/copybuffer/copybuffer.plugin.zsh deleted file mode 100644 index e67f920..0000000 --- a/stow/oh-my-zsh/.oh-my-zsh/plugins/copybuffer/copybuffer.plugin.zsh +++ /dev/null @@ -1,16 +0,0 @@ -# copy the active line from the command line buffer -# onto the system clipboard - -copybuffer () { - if which clipcopy &>/dev/null; then - printf "%s" "$BUFFER" | clipcopy - else - zle -M "clipcopy not found. Please make sure you have Oh My Zsh installed correctly." - fi -} - -zle -N copybuffer - -bindkey -M emacs "^O" copybuffer -bindkey -M viins "^O" copybuffer -bindkey -M vicmd "^O" copybuffer