diff --git a/bin/omarchy-launch-editor b/bin/omarchy-launch-editor index dbe84cfd..81879626 100755 --- a/bin/omarchy-launch-editor +++ b/bin/omarchy-launch-editor @@ -1,6 +1,8 @@ #!/bin/bash -case "${EDITOR:-nvim}" in +omarchy-cmd-present "$EDITOR" || EDITOR=nvim + +case "$EDITOR" in nvim | vim | nano | micro | hx | helix) exec setsid uwsm-app -- "$TERMINAL" -e "$EDITOR" "$@" ;;