diff --git a/stdlib/InteractiveUtils/src/editless.jl b/stdlib/InteractiveUtils/src/editless.jl index e4e2fcf20d903..f4108fc8cdda3 100644 --- a/stdlib/InteractiveUtils/src/editless.jl +++ b/stdlib/InteractiveUtils/src/editless.jl @@ -119,7 +119,7 @@ function define_default_editors() end # Must check that emacs not running in -t/-nw before regex match for general emacs define_editor([ - "vim", "vi", "nvim", "mvim", "nano", + "vim", "vi", "nvim", "mvim", "nano", "micro", r"\bemacs\b.*\s(-nw|--no-window-system)\b", r"\bemacsclient\b.\s*-(-?nw|t|-?tty)\b"], wait=true) do cmd, path, line `$cmd +$line $path`