Comments (8)
@ineu make sense. What about by hitting Tab open file to preview in new tab, repeatedly Tab hits will change source for opened tab based on selected item.
Alt+Enter to persist file in new tab. Thanks.
from atom-fuzzy-grep.
So alt+enter opens file, keeping grep dialog open? Sounds fine.
Still it would be fine to save/restore search string, as it may be desirable to open some files, close dialog and after some work reopen it with the same search string.
from atom-fuzzy-grep.
@ineu both described scenarios will keep grep dialog opened. As quick fix I can implement, or if you want send PR, opening dialog with last searched string.
from atom-fuzzy-grep.
Ok, will try to implement this thing. Good occasion to learn something about Atom plugins )
from atom-fuzzy-grep.
@ineu, I've commited first part of the feature. Few things there:
- New option Preserve Last Search if you want to always use last search string.
- New method to open dialog with last search string entered. You can bind this method in your keymap.json file, for example:
'atom-workspace':
'ctrl-alt-shift-g': 'fuzzy-grep:toggleLastSearch'
Or check Preserve Last Search option in package Settings.
You can try new changes by clone this repo and link it your packages. Thanks.
from atom-fuzzy-grep.
@ineu, released new version with this feature. You can update the package.
I leave this issue opened. Will track preview and cycle opening features here.
from atom-fuzzy-grep.
@geksilla Works great, thank you
from atom-fuzzy-grep.
@ineu, yw. thanks for great request!
from atom-fuzzy-grep.
Related Issues (20)
- Failed to spawn command `ag` on second window HOT 15
- debounce HOT 1
- Add support for pt The Platinum Searcher HOT 1
- Uncaught Error: spawn EACCES using AG in an Elixir Phoenix project HOT 2
- Allow grep-root specification HOT 1
- Settings not showing correctly. HOT 4
- Not working on windows HOT 4
- can't ignore multiple folders HOT 2
- search multiple words independent of order HOT 2
- Show document list sorted by date for 0 characters
- Results difficult to visually parse
- Cursor will not jump to search result using ripgrep HOT 3
- environment package VS process.env HOT 1
- Allow to search files HOT 1
- Question: public API HOT 2
- Search command line placeholders, to support CodeSearch
- version 0.17.0 totally doesn't work HOT 5
- search for ag, but in a git repo it should use git grep, right? HOT 3
- Maintainers Wanted
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atom-fuzzy-grep.