summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-11-12 16:51:23 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-11-12 16:51:23 +0100
commit2f0908fbb538813929371979d2a49fbe0048f946 (patch)
tree967f2726fe3ff12da5e36e5597bcb5803a3ef73f
parentFix (diff)
downloaddotfiles-bsd-2f0908fbb538813929371979d2a49fbe0048f946.tar.gz
dotfiles-bsd-2f0908fbb538813929371979d2a49fbe0048f946.tar.bz2
dotfiles-bsd-2f0908fbb538813929371979d2a49fbe0048f946.tar.xz
dotfiles-bsd-2f0908fbb538813929371979d2a49fbe0048f946.tar.zst
dotfiles-bsd-2f0908fbb538813929371979d2a49fbe0048f946.zip
Update
Diffstat (limited to '')
-rw-r--r--.config/zsh/alias.zsh4
1 files changed, 2 insertions, 2 deletions
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