Allow custom editor, like we do custom terminal (#1697)
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
case "$EDITOR" in
|
||||
nvim | vim | nano | micro | hx)
|
||||
exec setsid uwsm app -- "$TERMINAL" -e "$EDITOR" "$@"
|
||||
;;
|
||||
code | codium | subl | gedit | kate | zeditor)
|
||||
exec setsid uwsm app -- "$EDITOR" "$@"
|
||||
;;
|
||||
*)
|
||||
exec setsid uwsm app -- "$TERMINAL" -e nvim "$@"
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user