tvim improve scripting

master
Von Random 4 years ago
parent b794ce3b0b
commit 676f0bce31
  1. 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…
Cancel
Save