#!/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