tvim as a separate window

This commit is contained in:
Von Random 2017-04-10 11:44:52 +03:00
parent 353ae2ab01
commit aaa1ac24f4

8
tvim
View file

@ -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