aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2021-09-28 22:34:02 +0200
committerDavid Runge <dave@sleepmap.de>2021-09-28 22:34:02 +0200
commita640bb766699706b4975416b85acd30191b79fa3 (patch)
tree4a9ca974f760dba435845a391e2b2f9e2b041b41
parentbcaef79fa6f99602493b196b4a2090de4d921fed (diff)
downloaddotfiles-a640bb766699706b4975416b85acd30191b79fa3.tar.gz
dotfiles-a640bb766699706b4975416b85acd30191b79fa3.tar.bz2
dotfiles-a640bb766699706b4975416b85acd30191b79fa3.tar.xz
dotfiles-a640bb766699706b4975416b85acd30191b79fa3.zip
zsh: remove 'before' files
.zsh.before/*: Remove all 'before' include files.
-rw-r--r--.zsh.before/git.zsh4
-rw-r--r--.zsh.before/key-bindings.zsh10
-rw-r--r--.zsh.before/last-command.zsh7
3 files changed, 0 insertions, 21 deletions
diff --git a/.zsh.before/git.zsh b/.zsh.before/git.zsh
deleted file mode 100644
index c87ec5a..0000000
--- a/.zsh.before/git.zsh
+++ /dev/null
@@ -1,4 +0,0 @@
-# Makes git auto completion faster favouring for local completions
-__git_files () {
- _wanted files expl 'local files' _files
-}
diff --git a/.zsh.before/key-bindings.zsh b/.zsh.before/key-bindings.zsh
deleted file mode 100644
index c1c7d8e..0000000
--- a/.zsh.before/key-bindings.zsh
+++ /dev/null
@@ -1,10 +0,0 @@
-# http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html
-# http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Zle-Builtins
-# http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Standard-Widgets
-
-bindkey -v # Use vi key bindings
-bindkey '^r' history-incremental-search-backward # [Ctrl-r] - Search backward incrementally for a specified string. The string may begin with ^ to anchor the search to the beginning of the line.
-
-# emacs style
-bindkey '^a' beginning-of-line
-bindkey '^e' end-of-line
diff --git a/.zsh.before/last-command.zsh b/.zsh.before/last-command.zsh
deleted file mode 100644
index 9f7486b..0000000
--- a/.zsh.before/last-command.zsh
+++ /dev/null
@@ -1,7 +0,0 @@
-# Use Ctrl-x,Ctrl-l to get the output of the last command
-zmodload -i zsh/parameter
-insert-last-command-output() {
-LBUFFER+="$(eval $history[$((HISTCMD-1))])"
-}
-zle -N insert-last-command-output
-bindkey "^X^L" insert-last-command-output