The correct way to ignore files by extension for file name completion purposes is using the variable completion-ignored-extensions. The variable holds a list of strict suffix strings that are ignored for:
directory completion, if the list element ends in a /, or
file completion otherwise.
The ido-ignore-files variable, on the other hand, is a list of ...
It was conflicting with ido's keybinding so I disabled it.
(defun bind-ido-keys ()
"Keybindings for ido mode."
(define-key ido-completion-map (kbd "\C-o") 'nil))
(add-hook 'ido-setup-hook #'bind-ido-keys)
Set ido-case-fold to nil
-- User Option: ido-case-fold
If the value of this user option is non-‘nil’, searching of buffer
and file names should ignore case.
Take care of:
do not mistake the behavior of several options and how they affect the matching results, like case-fold, prefix matching and flexible matching.
There can be a ...