vscripts/tvim

6 lines
180 B
Text
Raw Normal View History

#!/usr/bin/env bash
2018-06-29 16:58:43 +03:00
TERM=$(command -v default-terminal-emulator)
VIM=$(command -v nvim) || VIM=$(command -v vim)
2018-06-29 16:58:43 +03:00
exec "$TERM" -e "$VIM" -c 'set mouse=a' "$@" &>/dev/null & disown