new gen of vimwiki script
This commit is contained in:
parent
f76327e42a
commit
0a79858b42
3 changed files with 10 additions and 10 deletions
6
tvim
6
tvim
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
term=default-terminal-emulator
|
||||
vim=$(command -v nvim) || vim=$(command -v vim)
|
||||
TERM=$(command -v default-terminal-emulator)
|
||||
VIM=$(command -v nvim) || VIM=$(command -v vim)
|
||||
|
||||
exec $term -e $vim -c 'set mouse=a' "$@" &>/dev/null & disown
|
||||
exec "$TERM" -e "$VIM" -c 'set mouse=a' "$@" &>/dev/null & disown
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue