From 7083867fbeea6abbde155a5b9eb3c85d79881691 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Wed, 26 Jun 2024 10:45:07 +0300 Subject: [PATCH] support `nano` as an editor as well --- veditline.v | 1 + 1 file changed, 1 insertion(+) diff --git a/veditline.v b/veditline.v index 831a10f..1b7561d 100644 --- a/veditline.v +++ b/veditline.v @@ -34,6 +34,7 @@ fn main() { 'jed' { res << [parts[0], '-g', parts[1]] } 'vim' { res << ['+${parts[1]}', parts[0]] } 'pico' { res << ['+${parts[1]}', parts[0]] } + 'nano' { res << ['+${parts[1]}', parts[0]] } else { res << parts[0] } } }