From bed9839f46047abd81f7c9b56936ba177829221c Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Tue, 1 Dec 2020 00:15:12 +0100 Subject: ex_getln: add secret charm Opt in to this secret world using set wildchar=0 " already the default, but remove if non-zero existing config: set wildcharm=0 now you can map 'wildmode' just like any mode: cnoremap function! Spacey() return getcmdline()[-1:] == "/" ? "\" : "" endfunc cnoremap / wildmenumode() ? Spacey()."/" : "/" Possibly asked questions: What about backwards compatibility? ==== Just do nothing and your existing 'wildchar' and 'wildcharm' will keep working. Doesn't `` mean suspend? ==== Not in cmdline mode. If it would then the recommended wildcharm would not have been `` to start with. My config relies on `:` being a synonym to `:`! ==== just no. --- test/functional/helpers.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'test/functional/helpers.lua') diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua index d85a6a3cfe..0829560b9c 100644 --- a/test/functional/helpers.lua +++ b/test/functional/helpers.lua @@ -442,6 +442,7 @@ function module.new_argv(...) 'NVIM_LOG_FILE', 'NVIM_RPLUGIN_MANIFEST', 'GCOV_ERROR_FILE', + 'XDG_DATA_DIRS', 'TMPDIR', }) do if not env_tbl[k] then -- cgit