editor: make editor configurable via /executable

`/executable set editor /full/path/to/edit`.

Regards https://github.com/profanity-im/profanity/issues/1521
This commit is contained in:
Michael Vetter
2021-04-16 23:18:19 +02:00
parent 1f4f912e78
commit 19c5925c37
4 changed files with 23 additions and 3 deletions

View File

@@ -241,6 +241,7 @@ gboolean cmd_url_save(ProfWin* window, const char* const command, gchar** args);
gboolean cmd_executable_avatar(ProfWin* window, const char* const command, gchar** args);
gboolean cmd_executable_urlopen(ProfWin* window, const char* const command, gchar** args);
gboolean cmd_executable_urlsave(ProfWin* window, const char* const command, gchar** args);
gboolean cmd_executable_editor(ProfWin* window, const char* const command, gchar** args);
gboolean cmd_mam(ProfWin* window, const char* const command, gchar** args);
gboolean cmd_editor(ProfWin* window, const char* const command, gchar** args);