about summary refs log tree commit diff stats
path: root/src/config/preferences.c
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2021-05-30 22:35:17 +0200
committerJörg Thalheim <joerg@thalheim.io>2021-05-30 23:14:05 +0200
commita5a0dd6c919a2b4f12ef2b4f57a0d9a2a9cabf34 (patch)
treeb1ec0684d776abb798f644eb04b2c5a1797ad107 /src/config/preferences.c
parent69e3cebf26dc5c6a9c13fe3269bcd659060d7c4e (diff)
downloadprofani-tty-a5a0dd6c919a2b4f12ef2b4f57a0d9a2a9cabf34.tar.gz
external editor: don't use absolute paths and allow path search
Diffstat (limited to 'src/config/preferences.c')
-rw-r--r--src/config/preferences.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c
index 4ff51092..c930fccd 100644
--- a/src/config/preferences.c
+++ b/src/config/preferences.c
@@ -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:
ef='#n148'>148 149