From aaa1ac24f4a383465d2eeaf67de923b9a1329278 Mon Sep 17 00:00:00 2001 From: Von Random Date: Mon, 10 Apr 2017 11:44:52 +0300 Subject: [PATCH] tvim as a separate window --- tvim | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tvim b/tvim index 068e4e5..e81103b 100755 --- a/tvim +++ b/tvim @@ -1,10 +1,6 @@ #!/usr/bin/env bash term=default-terminal-emulator vim=vim -#if [[ -x $(type -P nvim) ]]; then -# vim=nvim -#else -# vim=vim -#fi +#[[ -x $(type -P nvim) ]] && vim=nvim -exec $term -e $vim -c 'set mouse=a' "$@" +exec $term -e $vim -c 'set mouse=a' "$@" &>/dev/null & disown