From 5694eafaeefbb6fbd5816dfecf765179e49cdea4 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 9 Aug 2024 16:03:55 +0200 Subject: Don’t modify the jumplist when formatting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .exrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.exrc b/.exrc index b4554aa..1460ac2 100644 --- a/.exrc +++ b/.exrc @@ -4,7 +4,7 @@ call setenv("TEMPL_EXPERIMENT", "rawgo") function s:SaveExcursion(cmd) let l:win = winsaveview() - silent execute "%!" .. a:cmd + silent execute "keepjumps %!" .. a:cmd call winrestview(l:win) endfunction -- cgit v1.2.3