From fefcb9034b3a71908575198921b415f45408507d Mon Sep 17 00:00:00 2001 From: rootiest Date: Fri, 12 Jun 2026 00:35:26 -0400 Subject: [PATCH] feat: add empty fish_mode_prompt stub to suppress vi-mode prefix --- functions/fish_mode_prompt.fish | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 functions/fish_mode_prompt.fish diff --git a/functions/fish_mode_prompt.fish b/functions/fish_mode_prompt.fish new file mode 100644 index 0000000..467ff62 --- /dev/null +++ b/functions/fish_mode_prompt.fish @@ -0,0 +1,16 @@ +# Copyright (C) 2026 Rootiest +# SPDX-License-Identifier: AGPL-3.0-or-later +# +# SYNOPSIS +# fish_mode_prompt +# +# DESCRIPTION +# Empty override. Suppresses fish's built-in vi-mode prefix ([N]/[I]/etc.) +# that would prepend to the prompt line and break the two-line nim layout. +# Vi-mode display is handled inside fish_prompt itself. +# +# EXAMPLE +# # Rendered automatically by fish; not called directly. + +function fish_mode_prompt +end