I have used eval-after-load. I don't konw but @Jesse's solution was not changed the keybindings.
Code wrapped in eval-after-load will be executed only once. , so it
is typically used to perform one-time setup such as setting default
global values and behaviour.
(setq smex-save-file "~/.emacs.d/settings/smex-items")
(global-set-key (kbd "M-x&...
For files (and directories, not buffers) C-f makes it fall back to non-ido behavior.
C-f runs the command ido-magic-forward-char (found in ido-completion-map), which is an interactive compiled Lisp function in ‘ido.el’.
It is bound to C-f.
Move forward in user input or perform magic action.
If no user input is present, or at ...