From 26b6947949983110ae7861c3c2bf36c59d16adfe Mon Sep 17 00:00:00 2001 From: Hanul <98989922+lazy-seal@users.noreply.github.com> Date: Fri, 26 Dec 2025 19:04:00 -0800 Subject: [PATCH] Set vim.env.TERM to 'dumb' to remove ANSI formatting --- init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.lua b/init.lua index b98ffc61..e757c22e 100644 --- a/init.lua +++ b/init.lua @@ -166,6 +166,9 @@ vim.o.scrolloff = 10 -- See `:help 'confirm'` vim.o.confirm = true +-- Removes ANSI formatting characters (like `\033[31m`) printed by shell escape commands (like `:!ls`) +vim.env.TERM = 'dumb' + -- [[ Basic Keymaps ]] -- See `:help vim.keymap.set()`