help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A package in a league of its own: Helm


From: Tu, Do
Subject: Re: A package in a league of its own: Helm
Date: Tue, 2 Sep 2014 07:32:12 -0700 (PDT)
User-agent: G2/1.0

Vào 20:19:52 UTC+7 Thứ ba, ngày 02 tháng chín năm 2014, Phil Lord đã viết:
> I could rebind helm to make it use tab and delete like ido, although I
> 
> think it would still not be as nice as ido. Say I do find-file in a
> 
> directory, then select src, then uk, then ac, then ncl (as in a java
> 
> project), in ido I go C-xC-f s [rtn][rtn][rtn][rtn] because ido offers
> 
> "uk" and the others as the first completion. Helm offers "." and ".." as
> 
> the first two, so I have to do C-xCf s
> 
> [right][down][down][right][down][down][right]. Or I have to hit the
> 
> first key of "uk", then "ac" -- all of which requires thinking about.
>

For an edge case like that where everything is at the top, then even stock 
find-file is fast. But then, your current directory contains many files then 
you may one to look around to see the files in that directory. In that case, 
Ido cannot do it because you cannot have an actually buffer to scroll up/down 
to see. In this case, with Ido, you have to drop into Dired, look around and 
start ido-find-file again.

> I've been using projectile, but with ido -- this is what is giving you
> 
> the completion you show?
> 
> 
> 
> Well, I am writing. Across the top of the helm-find-file session, my
> 
> buffer says:
> 
> 
> 
> C-j: Hit1 Expand Candidate, Hit2 or (C-u) Find file
> 
> find-file (`C-l': Go up one level)
> 
> 
> 
> What does "Hit1" and "Hit2" mean?
> 
> 
> 
> Phil

helm-projectile is really nice but if you want to look at the current directory 
or navigate around, you should use helm-find-files. C-j means that you proceed 
to the next level, that is either a file or a directory. Hit 1 means pressing 
one time. Hit 2 means pressing 2 times; pres you hit C-j twices and if your 
highlighting is on a file, then the file content is opened up in another 
buffer. You can also press C-u in helm-find-files; its has the same effect as 
pressing C-j twice. You can navigate the other buffer with M-<next>/M-<prior>.

Actually, navigating back and forth with C-j/C-l is much faster than <tab> and 
<delete>/<return> since both of those keys are on the home row.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]