diff options
-rw-r--r-- | .zsh.before/git.zsh | 4 | ||||
-rw-r--r-- | .zsh.before/key-bindings.zsh | 10 | ||||
-rw-r--r-- | .zsh.before/last-command.zsh | 7 |
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 |