diff --git a/README.md b/README.md index ff640f9..c6c9532 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ GitHub, so it's easy to start using it. And since it's your own repository you can make it private to keep your ideas secret. `eureka` looks at your environment variables to decide what program to use. -* `$EDITOR` for what to edit your ideas with (falls back to `vim`) +* `$EDITOR` for what to edit your ideas with (falls back to `vi`) * `$PAGER` for what to view your ideas with (falls back to `less`) ## Installation diff --git a/src/lib.rs b/src/lib.rs index c86ab6b..58e6b6d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -106,7 +106,7 @@ where let editor = match env::var("EDITOR") { Ok(e) => e, Err(_) => { - get_if_available("vim").expect("Cannot locate executable - vim - on your system") + get_if_available("vi").expect("Cannot locate executable - vi - on your system") } }; match Command::new(&editor).arg(file_path).status() {