atom / find-and-replace

Find and replace in a single buffer and in the project
MIT License
242 stars 197 forks source link

How to save and restore last search pattern used? #560

Open patroza opened 9 years ago

patroza commented 9 years ago

I find myself restarting the editor often and having to re-enter my File/directory patterns all over again (e.g: .ts,.html,.scss,*.json), is there some way to store these?

Also it would be useful to retain the history across sessions, or to be able to configure persistent patterns so that we can easily switch between them.

winstliu commented 9 years ago

Your latter request (retaining history) is being implemented in #480.

benogle commented 9 years ago

It should be serialized today. When you load up the fnr panel, focus the paths panel and press 'up'.

As @50Wliu said, though, the state will be exactly the same if/when the referenced PR is merged.