dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit ceaabc452dfc92c9d966bb1b7130668ebf1eccb9
parent 7f56385ea9bd611f8c9c9076daf93b262831fdc1
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed, 19 Jun 2019 10:03:49 +0200

Add zsh binds for vis

Diffstat:
M.zshrc | 9++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/.zshrc b/.zshrc @@ -81,7 +81,8 @@ bindkey '^e' _editor # launch $EDITOR+fzf with Ctrl-f _editor_fuzzy_find() { - BUFFER="$EDITOR -c ':FZF'" + #BUFFER="$EDITOR -c ':fzf'" # (n)vim + BUFFER="$EDITOR +':fzf'" # vis zle accept-line } zle -N _editor_fuzzy_find @@ -89,7 +90,8 @@ bindkey '^f' _editor_fuzzy_find # launch $EDITOR+fzf for recent files with Ctrl-o _editor_fuzzy_history() { - BUFFER="$EDITOR -c ':History'" + #BUFFER="$EDITOR -c ':History'" # (n)vim + BUFFER="$EDITOR +':fzfmru'" # vis zle accept-line } zle -N _editor_fuzzy_history @@ -97,7 +99,8 @@ bindkey '^o' _editor_fuzzy_history # launch $EDITOR+fzf+rg with Ctrl-g _editor_fuzzy_grep() { - BUFFER="$EDITOR -c ':Rg'" + #BUFFER="$EDITOR -c ':Rg'" # (n)vim + BUFFER="$EDITOR +':Rg'" # vis zle accept-line } zle -N _editor_fuzzy_grep