stripes/vix

8 lines
195 B
Plaintext
Raw Permalink Normal View History

#!/bin/sh
2024-01-22 00:10:28 +00:00
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