jump in the file list

General discussion related to "Everything".
Post Reply
nice_guy
Posts: 17
Joined: Sat Mar 23, 2013 11:44 pm

jump in the file list

Post by nice_guy » Sat Nov 07, 2020 6:11 am

Problem:
In a file list with 5000 files I want to jump to the first file in the list that contains "1234" in the name.
And so on ... second file with "1234" ...

How to do?

void
Site Admin
Posts: 5814
Joined: Fri Oct 16, 2009 11:31 pm

Re: jump in the file list

Post by void » Mon Nov 09, 2020 6:37 am

Typing in the result list will jump to the file.

Make sure the result list has focus and type in: 1234

The jump to text is shown in the status bar.
The jump to text is cleared after 3 seconds.

After the jump to text is cleared, typing in 1234 again will jump to the next file starting with 1234.


To find files starting with 1234, search for:
startwith:1234
-or-
regex:^1234

nice_guy
Posts: 17
Joined: Sat Mar 23, 2013 11:44 pm

Re: jump in the file list

Post by nice_guy » Thu Nov 19, 2020 2:40 pm

"Typing in the result list will jump to the file."

No, not here.
No jump

"After the jump to text is cleared, typing in 1234 again will jump to the next file starting with 1234."

File name is not starting with 1234.
1234 is anywhere in the filename, at different places

Everything should move to the next file in the result list by pressing a key

NotNull
Posts: 2408
Joined: Wed May 24, 2017 9:22 pm

Re: jump in the file list

Post by NotNull » Thu Nov 19, 2020 4:07 pm

You can simply add 1234 to your search, like
*.txt 1234

that will find all txt files with 1234 in their name

You can browse through the list of found files using the Up/Down keys.

therube
Posts: 2764
Joined: Thu Sep 03, 2009 6:48 pm

Re: jump in the file list

Post by therube » Thu Nov 19, 2020 4:13 pm

It would be really nice to have (Vim-like) regex: in the file list.
Such that /1234 would go to the next 1234 - beginning or not.

1234, alone, taking you to ^1234 is fine, but /1234 to find 1234 anywhere in the name, or 1234$ to fine a name ending in 1234...
Then a (Vim-like) 'n' (or 'N') to take you to the 'n'ext, previous, occurrence (or F3, next, Shift+F3, previous).


Similarly a way to 'm'ark a spot in the list, such that you can easily jump back to that spot.
You're down at "line" 2100 of 5000 in your list, you mark that "a", 'ma', you errantly <sp> hit the Home key, so you're at line 1, you hit 'a (jump to the 'a' mark) & you're back at line 2100. (And you can mark multiple area, a-z... & jump to any of them...)


(You won't believe how many times I working in a long list of files, errantly <sp> hit a wrong key & up in lala land, then have to try to figure out where I was, & make my way back to it ;-).)

therube
Posts: 2764
Joined: Thu Sep 03, 2009 6:48 pm

Re: jump in the file list

Post by therube » Thu Nov 19, 2020 4:14 pm

You can simply add 1234 to your search
But you don't want to change or filter your search itself.

You only want to be able to easily search within your results list.

nice_guy
Posts: 17
Joined: Sat Mar 23, 2013 11:44 pm

Re: jump in the file list

Post by nice_guy » Thu Nov 19, 2020 4:22 pm

NotNull wrote:
Thu Nov 19, 2020 4:07 pm
You can simply add 1234 to your search, like
*.txt 1234

that will find all txt files with 1234 in their name

You can browse through the list of found files using the Up/Down keys.
No, that direction was not my point.

NotNull
Posts: 2408
Joined: Wed May 24, 2017 9:22 pm

Re: jump in the file list

Post by NotNull » Thu Nov 19, 2020 4:33 pm

therube wrote:
Thu Nov 19, 2020 4:14 pm
But you don't want to change or filter your search itself.
You only want to be able to easily search within your results list.
Could you give an example when and how you search through the result list?
When I search, all my desired results show up on 'Page 1'.
Am I doing something wrong/inefficient here?

therube
Posts: 2764
Joined: Thu Sep 03, 2009 6:48 pm

Re: jump in the file list

Post by therube » Thu Nov 19, 2020 9:40 pm

You have a broad search, train.
You do not want anything more refined at that point, just train.

You're presented with a list of 50,000 hits.
red trains, blue trains, the little train that could...

You're sorted, alpha or otherwise, perhaps by size...

You're at the top of your list, 'a little train that can'.
You know that you have another similarly named file in there, 'should i delete this or not - a little train that can'.
You don't want to open a new search window, you don't want to lose you're current position in the results list.

You type in, /a little train that can, & Everything, being that train, jumps down to, 'should i delete this or not - a little train that can'.
You hit the Del key & delete it.
You hit the n (next) key, & you've now found in your results list, 'read-along story book, a little train that can'.
You hit F2, & change the file name to, 'read-along story book, the little train that could'.

You hit '' (that's two of "those" marks") & you're returned back towards the top where you started from 'a little that can'.
(Or had you, 'ma' [marked, 'a'], a 'a [return to 'a'] would return you back to that marked spot.)


IOW, it brings a FAYT feature to the results list.

NotNull
Posts: 2408
Joined: Wed May 24, 2017 9:22 pm

Re: jump in the file list

Post by NotNull » Fri Nov 20, 2020 12:45 pm

Thanks for explaining, therube.
Although I meant how people use this currently, I got your point.

Turns out I do use it differently: I typically search for a (1 or 2) file / folder. Either that or all files/folders that (don't) match a very specific pattern.

Post Reply