about summary refs log tree commit diff
path: root/configs/shared/zle.zsh
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-01-29T12·48+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-01-29T14·21+0000
commit15110e6de9f85537c7847267caa35fa068aea001 (patch)
treebfaca4ddd803da94d5f7864004a7a8edfcdf5b90 /configs/shared/zle.zsh
parent093b566e711c9484d4dd8c32e076a525895998ad (diff)
Drop support for ZSH
I've been using Fish consistently for about a month now, and I don't see myself
switching back to ZSH. Some of the code from this commit should be published. I
may get around to that one day. Before I did that, I would need to clean it up
and document it, which I won't be doing today.

Thank you, ZSH, for your service.
Diffstat (limited to 'configs/shared/zle.zsh')
-rw-r--r--configs/shared/zle.zsh31
1 files changed, 0 insertions, 31 deletions
diff --git a/configs/shared/zle.zsh b/configs/shared/zle.zsh
deleted file mode 100644
index 4ded511ffccf..000000000000
--- a/configs/shared/zle.zsh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/usr/bin/env zsh
-
-zle_insert_subshell() {
-  LBUFFER+='$(' ; RBUFFER=")$RBUFFER"
-}
-zle -N zle_insert_subshell
-bindkey '^j' zle_insert_subshell
-
-zle_insert_variable() {
-  LBUFFER+='${' ; RBUFFER="}$RBUFFER"
-}
-zle -N zle_insert_variable
-bindkey '^v' zle_insert_variable
-
-zle_insert_2x_dash() {
-  LBUFFER+=' --'
-}
-zle -N zle_insert_2x_dash
-bindkey '^[^f' zle_insert_2x_dash
-
-zle_insert_2x_quote() {
-  LBUFFER+=' "' ; RBUFFER="\"$RBUFFER"
-}
-zle -N zle_insert_2x_quote
-bindkey '^["' zle_insert_2x_quote
-
-zle_insert_quote() {
-  LBUFFER+=" '" ; RBUFFER="'$RBUFFER"
-}
-zle -N zle_insert_quote
-bindkey "^['" zle_insert_quote