tvim improve scripting
This commit is contained in:
parent
b794ce3b0b
commit
676f0bce31
1 changed files with 1 additions and 2 deletions
3
tvim
3
tvim
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
term=default-terminal-emulator
|
||||
vim=vim
|
||||
#[[ -x $(type -P nvim) ]] && vim=nvim
|
||||
vim=$(command -v nvim) || vim=$(command -v vim)
|
||||
|
||||
exec $term -e $vim -c 'set mouse=a' "$@" &>/dev/null & disown
|
||||
|
|
Loading…
Reference in a new issue