summary refs log tree commit diff stats
path: root/tag-zsh/config
diff options
context:
space:
mode:
Diffstat (limited to 'tag-zsh/config')
-rw-r--r--tag-zsh/config/zsh/completion/_tmux_pane_words10
-rwxr-xr-xtag-zsh/config/zsh/zshrc10
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 6ff9ce18..00000000
--- 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 73dad6df..38d4a7ac 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 '' 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'