]> code.delx.au - gnu-emacs-elpa/commit
Ivy-mode now works better with `find-file'
authorOleh Krehel <ohwoeowho@gmail.com>
Thu, 16 Apr 2015 19:20:42 +0000 (21:20 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Thu, 16 Apr 2015 19:20:42 +0000 (21:20 +0200)
commit567ea7e05bc0c36a944e1027b5703151050f4f14
tree3572054912a7dfe0f930a25d89acd6e842609f77
parentcb5ae17997a9ec239cf9d486feceb80acb433754
Ivy-mode now works better with `find-file'

* ivy.el (ivy-minibuffer-map): Bind "C-j" to visit a directory without
  exiting the minibuffer.
(ivy--directory): New defvar.
(ivy-done): Expand file names.
(ivy-alt-done): New defun.
(ivy-backward-delete-char): When completing file names, visit the parent dir.
(ivy-read): Add the predicate argument, similar to `completing-read'.
All code that uses `ivy-read' needs to be updated. Move the collection/predicate stuff here.
(ivy-completing-read): Update.
(ivy--insert-prompt): Display the current directory when completing file names.
counsel.el
ivy.el
swiper.el