"Go anywhere" from sublime text

252 views
Skip to first unread message

Ville M. Vainio

unread,
Nov 6, 2012, 4:33:37 PM11/6/12
to leo-editor
I believe Leo could benefit from having the "go anywhere" feaure from sublime text. It's activated by ctrl+p, after which you just start typing.

In the "video" on this website, slides 4 and 5 show it in action: 


In leo, stuff you could type there:

- Headline snippets
- File names
- @function names
- #words in current node (or whole leo file?)

It's important that the number of hits is rapidly narrowed down as you type more text into the search.

I used this kind of feature a lot in Qt creator, and can testify it's an order of magnitude faster than using a mouse (first requires searching for a while from a long list, in case of leo probably scrolling around, expanding nodes since the node being sought is not visible in the viewport...)

Matt Wilkie

unread,
Nov 12, 2012, 12:54:10 AM11/12/12
to leo-e...@googlegroups.com
//matt nods head emphatically//


--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To post to this group, send email to leo-e...@googlegroups.com.
To unsubscribe from this group, send email to leo-editor+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.



--
-matt

Daniel Rairigh

unread,
Nov 12, 2012, 3:43:56 PM11/12/12
to leo-e...@googlegroups.com
Here! Here!

Edward K. Ream

unread,
Nov 13, 2012, 6:38:59 AM11/13/12
to leo-e...@googlegroups.com
On Tue, Nov 6, 2012 at 3:33 PM, Ville M. Vainio <viva...@gmail.com> wrote:
> I believe Leo could benefit from having the "go anywhere" feature from
> sublime text. It's activated by ctrl+p, after which you just start typing.

Yes, that would be a good idea. Ctrl-p is taken, though ;-)

Edward

Ville Vainio

unread,
Nov 13, 2012, 2:05:32 PM11/13/12
to leo-e...@googlegroups.com, Edward K.Ream
Hey, so let’s do this then! :)
 
I’ll whip up a prototype soon when I get some quality coding time, unless someone beats me to it.
 
A must have feature seems to be doing search in thread to keep typing responsive
 
Sent from my Windows 8 PC

Edward

Ville M. Vainio

unread,
Nov 13, 2012, 4:23:54 PM11/13/12
to leo-e...@googlegroups.com, Edward K.Ream

Matt Wilkie

unread,
Nov 13, 2012, 9:27:08 PM11/13/12
to leo-e...@googlegroups.com
yay Ville!

On Tue, Nov 13, 2012 at 1:23 PM, Ville M. Vainio <viva...@gmail.com> wrote:
So, a reasonable starting point is "Locator" from Qt Creator (that you launch with ctrl+k).

My vote for default keybinding, if I get one, is to use "Ctrl,Ctrl" (double tap single ctrl key; left one if it needs to be specific), or "Caps,Caps". Easier and faster than a key chord. Try it, it's very addictive.

-matt

Edward K. Ream

unread,
May 1, 2013, 3:15:37 PM5/1/13
to leo-editor
On Tue, Nov 6, 2012 at 3:33 PM, Ville M. Vainio <viva...@gmail.com> wrote:
I believe Leo could benefit from having the "go anywhere" feaure from sublime text. It's activated by ctrl+p, after which you just start typing.

What's the status of this project?

Edward
Reply all
Reply to author
Forward
0 new messages