stripes/vix

8 lines
195 B
Bash
Executable File

#!/bin/sh
if [ "$(fd -tf --exact-depth=1 -e lua -e py -e rs)" ]; then
tmux split-window -hl 95 "$EDITOR \"$*\""
else
tmux split-window -hl 95 "nvim --cmd \":lua vim.g.noplugins=1\" \"$*\""
fi