external editor: don't use absolute paths and allow path search

This commit is contained in:
Jörg Thalheim
2021-05-30 22:35:17 +02:00
parent 69e3cebf26
commit a5a0dd6c91
2 changed files with 2 additions and 6 deletions

View File

@@ -2340,7 +2340,7 @@ _get_default_string(preference_t pref)
case PREF_URL_OPEN_CMD:
return "xdg-open %u";
case PREF_COMPOSE_EDITOR:
return "/usr/bin/vim";
return "vim";
case PREF_URL_SAVE_CMD:
return NULL; // Default to built-in method.
default: