From 2f0908fbb538813929371979d2a49fbe0048f946 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 12 Nov 2020 16:51:23 +0100 Subject: Update --- .config/zsh/alias.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.config/zsh') diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh index 5ce9d50..87b8321 100644 --- a/.config/zsh/alias.zsh +++ b/.config/zsh/alias.zsh @@ -48,8 +48,8 @@ alias gpo='git push origin' alias startdocker='sudo service vboxnet restart && docker-machine start docker-home' alias stopdocker='docker-machine stop docker-home' alias envdocker='eval `docker-machine env docker-home`' -alias vimz='nvim $(fzf)' -alias v='nvim $(fzf)' +alias vimz='nvim $(fzf --preview="head -$FZF_PREVIEW_LINES {}")' +alias v='nvim $(fzf --preview="head -$FZF_PREVIEW_LINES {}")' vs() { p=$(pwd) cd "$HOME"/.local/bin || return -- cgit v1.2.3