I want to disable key-binding
ido-find-file. If I press it generates
^J and completion does not completed so I want to disable it.
I have tried following but it did not work.
(defun ido-common-completion-map () "Add my keybindings for Ido." (define-key ido-common-completion-map (kbd "\C-o") 'nil)) (add-hook 'ido-setup-hook #'ido-common-completion-map)
(defun ido-disable-line-truncation () (set (make-local-variable 'truncate-lines) nil)) (add-hook 'ido-minibuffer-setup-hook #'ido-disable-line-truncation) (defun ido-define-keys () ;; C-n/p is more intuitive in vertical layout (define-key ido-completion-map (kbd "C-n") 'ido-next-match) (define-key ido-completion-map (kbd "C-p") 'ido-prev-match)) (add-hook 'ido-setup-hook 'ido-define-keys)