Home Download Buy Blog Forum Support

FuzzyFileNav Plugin (on package control...finally)

FuzzyFileNav Plugin (on package control...finally)

Postby facelessuser on Fri Nov 09, 2012 2:40 pm

Here is the official thread for the FuzzyFileNav package. If you are already using it, you know what it is.

FuzzyFileNav is a plugin that allows you you navigate the file system (outside of projects) via the quick panel. There are at least one or two other plugins on Package Control that do similar things. I believe FuzzyFileNav has some unique features.

Anyways, feel free to try it. Post requests, bugs, whatever here.

The official repo is here: https://github.com/facelessuser/FuzzyFileNav.
facelessuser
 
Posts: 1550
Joined: Tue Apr 05, 2011 7:38 pm

Re: FuzzyFileNav Plugin (on package control...finally)

Postby Watabou on Fri Nov 09, 2012 10:40 pm

Wow. I have been looking for a plugin like this for so long. It's really amazing. Thank you!

I realize I have a lot of plugins installed that are written by you. You're like the tim pope of sublime plugins! :lol:

Is there a way to always have it start at a default location even when I'm in an open buffer?
Watabou
 
Posts: 11
Joined: Mon Aug 13, 2012 9:52 am

Re: FuzzyFileNav Plugin (on package control...finally)

Postby facelessuser on Fri Nov 09, 2012 11:25 pm

Watabou wrote:Wow. I have been looking for a plugin like this for so long. It's really amazing. Thank you!

I realize I have a lot of plugins installed that are written by you. You're like the tim pope of sublime plugins! :lol:

Thanks! I only write what I actually use, so everything I have out there is because I had a need/desire for them. I have more that I haven't released or that maybe I posted in a forum but people didn't show any interest so I kept them to myself.

Watabou wrote:Is there a way to always have it start at a default location even when I'm in an open buffer?

Yep. Here is my personal config on my work PC. The third entry is what you want. Just replace your default key binding with something like that.

    //////////////////////////////////
// Fuzzy File Nav
//////////////////////////////////
{ "keys": ["ctrl+o"], "command": "fuzzy_start_from_file" },
{ "keys": ["ctrl+shift+o"], "command": "fuzzy_bookmarks_load" },
{ "keys": ["ctrl+super+alt+o"], "command": "fuzzy_file_nav", "args": {"start": "C:\\workbench" }},
facelessuser
 
Posts: 1550
Joined: Tue Apr 05, 2011 7:38 pm

Re: FuzzyFileNav Plugin (on package control...finally)

Postby Watabou on Sat Nov 10, 2012 4:08 am

Thanks, that works nicely!
Watabou
 
Posts: 11
Joined: Mon Aug 13, 2012 9:52 am

Re: FuzzyFileNav Plugin (on package control...finally)

Postby iamntz on Sat Nov 10, 2012 4:40 am

Thanks! I only write what I actually use, so everything I have out there is because I had a need/desire for them.

Any chance that you will some day you will need a persistent undo (that will also work after sublime is restarted) or branched undo/redo? :mrgreen:

http://vim.wikia.com/wiki/Using_undo_branches (look for Gundo screenshot)
iamntz
 
Posts: 898
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: FuzzyFileNav Plugin (on package control...finally)

Postby facelessuser on Sat Nov 10, 2012 7:41 pm

Who knows, maybe :).
facelessuser
 
Posts: 1550
Joined: Tue Apr 05, 2011 7:38 pm

Re: FuzzyFileNav Plugin (on package control...finally)

Postby quodlibet on Wed Nov 14, 2012 7:15 am

@iamntz Gundo looks really sweet!

@facelessuser Is there any chance that you will need to extend FuzzyNav so that it can be used as a dialog for saving files? :D

Alex
quodlibet
 
Posts: 499
Joined: Sat Jun 18, 2011 5:53 pm

Re: FuzzyFileNav Plugin (on package control...finally)

Postby skuroda on Wed Nov 14, 2012 8:04 am

@quodlibet

Doesn't it already, to an extent via the "Fuzzy Make File" and "Fuzzy Make Folder" commands?

@facelessuser

Great idea implementing (and the original idea from biermeester and matthjes) os/host specific settings. I hope you don't mind if I apply it to another plugin. One more thing (feel free to ignore this as it isn't plugin related if you would like). I have written a plugin to help identify key conflicts. Though to me you fall into the category of "If it doesn't exists and I want it, I'll build it", I was wondering if there was anything you could think of as a Sublime Text user or developer, that you feel would be helpful to know with regards to key bindings. Anyways, obviously not related to your plugin, so feel free to ignore.

Thanks for all the hard work. I really do like a number of the plugins you have written.
skuroda
 
Posts: 676
Joined: Fri Oct 05, 2012 8:11 am

Re: FuzzyFileNav Plugin (on package control...finally)

Postby facelessuser on Wed Nov 14, 2012 4:18 pm

quodlibet wrote:@facelessuser Is there any chance that you will need to extend FuzzyNav so that it can be used as a dialog for saving files? :D

Yeah, it is still on my list. I have a habit of taking on too much, but I will get to it.

skuroda wrote:@quodlibet

Doesn't it already, to an extent via the "Fuzzy Make File" and "Fuzzy Make Folder" commands?

Kind of, and you can use the "Fuzzy Copy" and "Fuzzy Paste" command to effectively "Save As", but I know what he means. He would like to take an unsaved buffer with content and turn it into a file, but pass it through ST2's save function to save it in a consistent way. Also the same with save as with unsaved content.

skuroda wrote:@facelessuser

Great idea implementing (and the original idea from biermeester and matthjes) os/host specific settings. I hope you don't mind if I apply it to another plugin.

I don't mind at all. That is what it is there for. As long as you include the license, it is fine. I plan to integrate it into a couple more of my plugins to abstract some settings that make sense to be abstracted.

skuroda wrote: One more thing (feel free to ignore this as it isn't plugin related if you would like). I have written a plugin to help identify key conflicts. Though to me you fall into the category of "If it doesn't exists and I want it, I'll build it", I was wondering if there was anything you could think of as a Sublime Text user or developer, that you feel would be helpful to know with regards to key bindings. Anyways, obviously not related to your plugin, so feel free to ignore.

Off the top of my head, the only things I can think of that I miss in regards to key bindings I have solved in two scripts:
1. Shorcut profiles (ShortcutPlus): https://gist.github.com/4029726
2. Find and open any keymap file or other package files (PackageFileSearch): https://gist.github.com/4072884

Neither plugins above are formal Package Control releases. Sometimes I post scripts and see if people actually care about them to see if it is a waste of time creating a formal Package Control repo. Sometimes I don't release them at all because of laziness, or they just aren't polished enough, or I don't think anyone will care.
The ability to fairly quickly pull up a plugins keymap file (without having it in a project) to disable something is nice. I don't recall releasing PackageFileSearch which can pop up a menu to show a list of all files of X type found in packages on your computer, but I find it very useful, and it applies to key map files as well.

What might be nice from your plugin, is when you show the key maps you create invisible regions with keys ("keyconflict=filepath" or something) around each keymap. When you click or maybe double click (heck even a shortcut), your plugin would look at the region and determine which key map file to open. Just an idea.
facelessuser
 
Posts: 1550
Joined: Tue Apr 05, 2011 7:38 pm

Re: FuzzyFileNav Plugin (on package control...finally)

Postby skuroda on Wed Nov 14, 2012 5:04 pm

Thanks. I saw your post of the shortcut profiles. I book marked the Gist, but haven't had a chance to use it much (granted I don't have a ton of plugins installed/keybindings). I had thought about creating "links" to the actual key maps files. Thanks for the ideas!
skuroda
 
Posts: 676
Joined: Fri Oct 05, 2012 8:11 am

Next

Return to Plugin Announcements

Who is online

Users browsing this forum: Google [Bot] and 4 guests