문제

I recently noticed how to configure bash to do case-insensitive filename completion (in /etc/inputrc, add: set completion-ignore-case on), now how do I get this in vim?

도움이 되었습니까?

해결책

Try

:set wildignorecase

I believe it is a pretty new feature, I have it working in the latest vim build(7.3.107)

see here.

다른 팁

Looks like it's not supported yet. It appears in vim's todo list :help todo search for CASE_INSENSITIVE_FILENAME (with priority "next release"):

8 Some file systems are case-sensitive, some are not. Turn CASE_INSENSITIVE_FILENAME into an option, at least for completion.

Anyway, if you don't care to rebuild vim from source then you can try this patch: http://osdir.com/ml/vim_dev/2009-09/msg00006.html

(Haven't tried it, so I cannot guarantee that it will solve your problem. Sorry)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top