# HG changeset patch # User Oleksandr Gavenko # Date 1423071978 -7200 # Node ID c300c3c9e97358c43eb1fa67c45c74796bcef876 # Parent a8fcda9c0aabf29de3218ebc39d3ae7586eb27a5 Add key bindings for finding file that work in M-x term. diff -r a8fcda9c0aab -r c300c3c9e973 .emacs-my --- a/.emacs-my Wed Feb 04 19:30:15 2015 +0200 +++ b/.emacs-my Wed Feb 04 19:46:18 2015 +0200 @@ -856,9 +856,15 @@ ;; ido-ignore-directories ;; ido-ignore-files -(ignore-errors - (require 'ido) - (ido-mode 1)) +(unless + (ignore-errors + (require 'ido) + (ido-mode 1) + (global-set-key [?\s-d] #'ido-dired) + (global-set-key [?\s-f] #'ido-find-file) + t) + (global-set-key [?\s-d] #'dired) + (global-set-key [?\s-f] #'find-file)) (global-set-key [?\C-x right] 'next-buffer) (global-set-key [?\C-x left] 'previous-buffer)