summaryrefslogtreecommitdiff
path: root/lisp/init-files.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-03-10 00:14:33 -0400
committerKyle Meyer <kyle@kyleam.com>2015-03-10 00:14:33 -0400
commit7feb46a375e072b361f08e9d799f20ac4b50f279 (patch)
tree6f047883cf923b76c0d8d99e84a5084185720e50 /lisp/init-files.el
parentd0cff250c9a73c45375a17b27dc933ae190c2825 (diff)
downloademacs.d-7feb46a375e072b361f08e9d799f20ac4b50f279.tar.gz
Switch from ido to helm
Diffstat (limited to 'lisp/init-files.el')
-rw-r--r--lisp/init-files.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/init-files.el b/lisp/init-files.el
index ff16aca..a8ff7eb 100644
--- a/lisp/init-files.el
+++ b/lisp/init-files.el
@@ -34,7 +34,7 @@
(defun km/find-file-as-root ()
"Automatically edit file with root-privileges."
(interactive)
- (let ((file (ido-read-file-name "Edit as root: ")))
+ (let ((file (read-file-name "Edit as root: ")))
(unless (file-writable-p file)
(setq file (concat "/sudo:root@localhost:" file)))
(find-file file)))
@@ -51,8 +51,6 @@ Use the current file name as initial input of prompt."
(global-set-key (kbd "C-x C-w") 'km/write-file)
-(key-chord-define-global "jc" 'find-file)
-
(define-key ctl-x-4-map "v" 'view-file-other-window)
(define-prefix-command 'km/file-map)
@@ -114,9 +112,8 @@ entering `ch' is equivalent to `*.[ch]'.")
;; `view-file-other-window', which I map to 'v', has the same
;; functionality.
(defun km/read-recent-file ()
- (ido-completing-read "Choose recent file: " recentf-list nil t))
+ (completing-read "Choose recent file: " recentf-list nil t))
-(key-chord-define-global "jt" 'km/recentf-find-file)
(define-key ctl-x-4-map "r" 'km/recentf-find-file-other-window)