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 #!/usr/bin/env bash
term=default-terminal-emulator term=default-terminal-emulator
vim=vim vim=vim
#if [[ -x $(type -P nvim) ]]; then #[[ -x $(type -P nvim) ]] && vim=nvim
# vim=nvim
#else
# vim=vim
#fi
exec $term -e $vim -c 'set mouse=a' "$@" exec $term -e $vim -c 'set mouse=a' "$@" &>/dev/null & disown