Recent files fuzzy finder Atom package
Quickly find recently opened files through the default Fuzzy Finder in Atom.
See the changelog for what have changed recently. 🚀
Why?
The motivation is similar to navigating to recently opened files in the Jetbrains IDEs.
Personally, I find it more useful to be able to quickly find recently opened files, than having to first check the buffer list and then search the whole project if wasn't already open.
BTW, this plays very well in combination with zentabs (Keep your opened tabs below a maximum limit, closing the oldest one first), so you don't have to close files manually so the tab bar is actually usable.
Usage
Open the recent files finder through alt-T
(i.e. alt+shift+t
).
Since this plugin basically is an improved buffer list, I recommend to override the default buffer list shortcut since its more comfortable to use:
# ~/.atom/keymap.cson
'atom-workspace':
'cmd-b': 'recent-files-fuzzy-finder:toggle-finder'
You can also clear closed files from the list by calling the command recent-files-fuzzy-finder:remove-closed-files
(useful when finished on some task and committed changed files).
Thanks to @forceuser #18 you can also get a Netbeans-like behavior by customizing your keybindings:
'atom-workspace':
'ctrl-tab': 'recent-files-fuzzy-finder:toggle-finder'
'ctrl-tab ^ctrl': 'unset!'
'.recent-files-fuzzy-finder':
'ctrl-tab': 'recent-files-fuzzy-finder:select-next-item'
'ctrl-escape': 'recent-files-fuzzy-finder:toggle-finder'
'^ctrl': 'recent-files-fuzzy-finder:confirm-selection'
Features & Behavior
- The files are listed in order of last usage.
- Current file is excluded from the list.
- The list of recent files is cyclic, i.e. if you have opened more files than the amount of files to remember (50 by default) the oldest files will be removed from the list.
Known issues, missing features, caveats, etc.?
- Remote tabs of https://teletype.atom.io/ have not been tested, most likely won't work as expected. Was implemented & released in fuzzy-finder v1.8.0, Atom v1.26
Installation
apm install recent-files-fuzzy-finder
in a terminal.
- or -
Open Preferences > Packages, and search for recent-files-fuzzy-finder
package.
Configuration
These are the configuration values set by default, if you want to you can override them in your own config:
# ~/.atom/config.cson
"recent-files-fuzzy-finder":
maxFilesToRemember: 50
Development
- Read CONTRIBUTING.md
npm install
for dependenciesnpm run lint
to check that your changes follow the styles, see coffeelint.jsonapm test
to run tests in the console