               (setq collection (butlast (cdr collection)))
             (setq collection (cdr collection))))
          (len (length collection)))
-    (when not-directory (setq len 0))
+    (unless with-directory (setq len 0))
     (cond
      ((= len 0) (let ((ffip-project-root default-directory)) (ffip)))
      (t

  ;; use recentf-list
  (ivy-recentf))

(defun hong/find-file (&optional not-directory)
  (interactive)
  (let* ((cmd "find -L . -path '*/.*' -prune -o -type d -print 2>/dev/null")
         (collection (split-string

^^^^^^^^------------------------------------------------------------------------
  _e_: emacs configure files       _l_: locate file
  _p_: project files
  _f_: find all files(slow)
  _t_: ido tramp connection
  _r_: open recentf files
^
