I would like to use case-ignoring completion in the file arguments I pass to (n)vim in the internal command prompt:
For example,
:edit case<tab>
should suggestcaselower.txt
andCaseupper.txt
.Or
:edit some-<tab>
should offer completions includingsome_underscore.txt
in addition tosome-dash.txt
)
I'm calling this completion suggestions in the prompt line (I'm not sure what else to search for in (n)vim :help
, :com[mands]
is not quite right.) I would like behavior equivalently to setting completion-ignore-case
and completion-map-case
in bash/readline. (bash: bind '[set ... on]'
.inputrc: set [...] on
).
Can I set up this completion ignore & map case in vim? If so, how? (Interested for vi/vim/Neovim)
-
and_
are treated as different characters. Could I ask you why you would like completion to be case insensitive? Are you looking for some kind of fuzzy completion like in (CtrlP
,FZF
orClap
)?