equal
deleted
inserted
replaced
543 ;; I usually mistype "C-x C-f" to "C-x d" or "C-x C-d", so always use find-file, |
543 ;; I usually mistype "C-x C-f" to "C-x d" or "C-x C-d", so always use find-file, |
544 ;; because when file if directory find-file load dired, if regular file open it. |
544 ;; because when file if directory find-file load dired, if regular file open it. |
545 (global-set-key (kbd "C-x C-f") 'find-file-at-point) |
545 (global-set-key (kbd "C-x C-f") 'find-file-at-point) |
546 (global-set-key (kbd "C-x C-d") 'find-file-at-point) |
546 (global-set-key (kbd "C-x C-d") 'find-file-at-point) |
547 (global-set-key (kbd "C-x d") 'find-file-at-point) |
547 (global-set-key (kbd "C-x d") 'find-file-at-point) |
|
548 |
|
549 ;; Stop 'ffap' in Dired as its suggestion is inconvenient. |
|
550 (define-key dired-mode-map (kbd "C-x C-f") 'find-file) |
|
551 (define-key dired-mode-map (kbd "C-x C-d") 'find-file) |
|
552 (define-key dired-mode-map (kbd "C-x d") 'find-file) |
548 |
553 |
549 (setq dired-dwim-target t) |
554 (setq dired-dwim-target t) |
550 ;; dangerous |
555 ;; dangerous |
551 ;; (setq |
556 ;; (setq |
552 ;; dired-recursive-copies 'top |
557 ;; dired-recursive-copies 'top |