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: Phillip Lord
Subject: Re: A package in a league of its own: Helm
Date: Tue, 02 Sep 2014 14:19:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

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.

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




"Tu, Do" <address@hidden> writes:

> @Ernesto I'm glad you find it helpful. I hope you enjoy Helm :)
>
> @Phil
>
> You should follow the configuration in my guide and swap TAB and C-z. Then,
> you can press TAB for entering directory. C-l is used to go back to parent
> directory, it requires two key pressed but it is closer to the home row. I
> don't think it's much slower. I find it actually faster. If you want to search
> for any file in your project, you have to use Projectile:
> https://github.com/bbatsov/projectile
>
> If you don't use Projectile, Ido won't be able to any file in your directory 
> either.
>
> Vào 23:01:22 UTC+7 Thứ hai, ngày 01 tháng chín năm 2014, Phil Lord đã viết:
>> First, thanks for the tutorial. I've tried helm (and anything) several
>> 
>> times, but never got on with it as I have found the experience too
>> 
>> confusing. I've always reverted to ido. I like the idea of helm because
>> 
>> it is more pervasive than ido and can do several things at once. I
>> 
>> dislike the practice of helm because too many things happen at once (and
>> 
>> the wiki is incomprehensible).
>> 
>> 
>> 
>> The thing that I am stuck on at the moment, is file navigation. With
>> 
>> ido.el, I use [tab] or [del] to move up or down directories (and carry
>> 
>> on selecting). With helm I have to use C-l C-j which I find much slower
>> 
>> because of the double keypress and because C-k is in the middle.
>> 
>> 
>> 
>> I don't get the behaviour you are talking about with helm. I get a
>> 
>> single directory at once, and I have to navigate through it to get to
>> 
>> the files I want.
>> 
>> 
>> 
>> Clearly I doing something wrong!
>> 
>> 
>> 
>> Phil
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> <address@hidden> writes:
>> 
>> > Consider this path: arch/x86/boot/main.c
>> 
>> >
>> 
>> > Can you type the file name first: "main.c", then add "x86" to get the 
>> > correct
>> 
>> > file above? I'm pretty sure ido+flx can't do that, but maybe I'm missing
>> 
>> > something.
>> 
>> >
>> 
>> > With Helm, you can simply specify "mai x86" and it narrows to 3 candidates
>> 
>> > with the above path at the top. The file is in Linux kernel source.
>> 
>> >
>> 
>> > Maybe you misunderstood my statement about precise remembering project
>> 
>> > structure. What I meant was you have to remember the correct path ordering,
>> 
>> > and that requires you to be familiar with the directory structure. Whlie in
>> 
>> > Helm, I'm completely new to a directory and simply know nothing about
>> 
>> > directory structure. With Helm, I can start pop up questions like "is 
>> > there a
>> 
>> > main.c that is relate to x86 arch?" and so on.
>> 
>> >
>> 
>> >
>> 
>> 
>> 
>> -- 
>> 
>> Phillip Lord,                           Phone: +44 (0) 191 222 7827
>> 
>> Lecturer in Bioinformatics,             Email: address@hidden
>> 
>> School of Computing Science,            
>> http://homepages.cs.ncl.ac.uk/phillip.lord
>> 
>> Room 914 Claremont Tower,               skype: russet_apples
>> 
>> Newcastle University,                   twitter: phillord
>> 
>> NE1 7RU
>
>
>

-- 
Phillip Lord,                           Phone: +44 (0) 191 222 7827
Lecturer in Bioinformatics,             Email: address@hidden
School of Computing Science,            
http://homepages.cs.ncl.ac.uk/phillip.lord
Room 914 Claremont Tower,               skype: russet_apples
Newcastle University,                   twitter: phillord
NE1 7RU                                 



reply via email to

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