summary refs log tree commit diff stats
path: root/tag-zsh
diff options
context:
space:
mode:
authorAlan Pearce2016-06-26 16:35:38 +0200
committerAlan Pearce2016-06-26 16:35:38 +0200
commitdd4e62c2ea197c6cf63b65a7b5160fb19dbd5939 (patch)
tree9f0034404da8999fb8bf170242dc06fd686ba122 /tag-zsh
parentf766b7ba9ee98fe81a0b17581177314c57443818 (diff)
downloadnixfiles-dd4e62c2ea197c6cf63b65a7b5160fb19dbd5939.tar.lz
nixfiles-dd4e62c2ea197c6cf63b65a7b5160fb19dbd5939.tar.zst
nixfiles-dd4e62c2ea197c6cf63b65a7b5160fb19dbd5939.zip
Delete unused tmux stuff
Diffstat (limited to 'tag-zsh')
-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'