diff options
author | Alan Pearce | 2016-06-26 16:35:38 +0200 |
---|---|---|
committer | Alan Pearce | 2016-06-26 16:35:38 +0200 |
commit | dd4e62c2ea197c6cf63b65a7b5160fb19dbd5939 (patch) | |
tree | 9f0034404da8999fb8bf170242dc06fd686ba122 /tag-zsh/config | |
parent | f766b7ba9ee98fe81a0b17581177314c57443818 (diff) | |
download | dotfiles-dd4e62c2ea197c6cf63b65a7b5160fb19dbd5939.tar.lz dotfiles-dd4e62c2ea197c6cf63b65a7b5160fb19dbd5939.tar.zst dotfiles-dd4e62c2ea197c6cf63b65a7b5160fb19dbd5939.zip |
Delete unused tmux stuff
Diffstat (limited to 'tag-zsh/config')
-rw-r--r-- | tag-zsh/config/zsh/completion/_tmux_pane_words | 10 | ||||
-rwxr-xr-x | tag-zsh/config/zsh/zshrc | 10 |
2 files changed, 0 insertions, 20 deletions
diff --git a/tag-zsh/config/zsh/completion/_tmux_pane_words b/tag-zsh/config/zsh/completion/_tmux_pane_words deleted file mode 100644 index 6ff9ce1..0000000 --- a/tag-zsh/config/zsh/completion/_tmux_pane_words +++ /dev/null @@ -1,10 +0,0 @@ -local expl -local -a w - -if [[ -z "$TMUX_PANE" ]]; then - _message "not running inside tmux!" - return 1 -fi - -w=( ${(u)=$(tmux capture-pane \; show-buffer \; delete-buffer)} ) -_wanted values expl 'words from current tmux pane' compadd -a w diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index 73dad6d..38d4a7a 100755 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -57,13 +57,6 @@ bashcompinit zstyle :compinstall filename '~/.zshrc' -autoload -Uz _tmux_pane_words -zle -C tmux-pane-words-prefix complete-word _generic -zle -C tmux-pane-words-anywhere complete-word _generic -zstyle ':completion:tmux-pane-words-(prefix|anywhere):*' completer _tmux_pane_words -zstyle ':completion:tmux-pane-words-(prefix|anywhere):*' ignore-line current -zstyle ':completion:tmux-pane-words-anywhere:*' matcher-list 'b:=* m:{A-Za-z}={a-zA-Z}' - # Speed up completion by not going further than a full match zstyle ':completion:*' accept-exact '*(N)' @@ -192,9 +185,6 @@ bindkey '[1;5C' forward-word bindkey 'f' insert-files bindkey 'd' describe-key-briefly -bindkey '\' tmux-pane-words-prefix -bindkey '|' tmux-pane-words-anywhere - # Aliases before functions alias getcflags='gcc -\#\#\# -march=native -E /usr/include/stdlib.h 2>&1 | grep "/usr/libexec/gcc/.*cc1"' alias grep='grep --color=auto' |