From 32de423d6991c3c18348e554de3742f244e2aaa5 Mon Sep 17 00:00:00 2001 From: evnoj Date: Wed, 22 Apr 2026 15:50:43 -0600 Subject: [PATCH] fix: show works with kakoune kakoune uses the 'kak + ' syntax to open a file to a line. When running 'kak :', it thinks that you are trying to open a file named ':'. Since this file almost certainly does not exist, it opens an empty buffer. This commit just adds kakoune to the hardcoded list of editors with the + syntax. --- src/ops/show.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ops/show.rs b/src/ops/show.rs index 289fd556bd..8b4e06d9fb 100644 --- a/src/ops/show.rs +++ b/src/ops/show.rs @@ -135,6 +135,7 @@ fn line_args(file: &str, maybe_line: Option, lower: String) -> Vec || lower.ends_with("nano") || lower.ends_with("micro") || lower.ends_with("nvr") + || lower.ends_with("kak") { vec![format!("+{line}"), file.to_string()] } else {