From 2a6522b4b7924bfabcae2c9ea60ba15be2e0346f Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Sat, 20 Jan 2024 22:19:32 -0500 Subject: [PATCH] Use unix slashes in ripgrep search results --- .vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vimrc b/.vimrc index fbd9e2b..35041b8 100644 --- a/.vimrc +++ b/.vimrc @@ -1536,7 +1536,10 @@ fu! Search(path, search_args, case_insensitive=0) let l:format = 'Rg ' . l:rg_args . ' ' . a:path . ' -e %s' let l:cmd = printf(l:format, shellescape(l:escaped_term)) + exec l:cmd + + call ConvertQuickfixPathsToUnixSlashes() endfu fu! SearchExt(path, search_args, case_insensitive=0)