dotfiles/bin/ewrap

7 lines
117 B
Plaintext
Raw Normal View History

2022-10-21 06:15:28 -04:00
#!/usr/bin/env sh
if [ -n "$TMUX" ] ; then
tmux split-window -h "nvim \"$*\""
else
kitty -e "nvim \"$*\""
fi