From 8bf06e3bfe994e8337f8d14d4dcf4e4677ed1f5a Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Mon, 25 Mar 2024 17:26:42 +0100 Subject: nvim: disable jump to latest pos in Git messages --- nvim/nvim/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nvim') diff --git a/nvim/nvim/init.lua b/nvim/nvim/init.lua index 1193861..f42bd1f 100644 --- a/nvim/nvim/init.lua +++ b/nvim/nvim/init.lua @@ -45,7 +45,7 @@ vim.opt.hlsearch = true -- Jump to latest position vim.api.nvim_create_autocmd({ "BufReadPost" }, { - pattern = { "*" }, + pattern = { '{*}{.git/COMMIT_EDITMSG}\\@