-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
more expressiveness of narrow query #50
Labels
Comments
t9md
added a commit
that referenced
this issue
Feb 28, 2017
to use select-files provider, `!md` to exclude markdown file can be written as `md!`
This was referenced Mar 9, 2017
See https://github.com/t9md/atom-narrow/wiki/Query for currently implemented. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For more powerful way to narrow items on the list.
This is for how query keyword is treated in narrowEditor.
simple-keyword
: Internally filtered by_.escapeRegExp
simple-keyword
?regex
\s
.pre-
keyword.*
as wildcard.pre-*
matchespre-a
,pre-abc
etc..pre-*llo*suffix
matchespre-hello-worldsuffix
etc.*
matches non-whitespace char(>1 length).abc*e
not matchesabe
.*
itself? Doesn't*
helper disturbing?**
.negate-simple-keyword
regex
: by prefixing query with/
, e.g./abc\w+
/
char as simple-keyword, doubling/
/etc/hosts
assimple-keyword
would be//etc/hosts
(yes second/
is not necessary).negate-regex
: by prefixing query with!/
. e.g.!/abc\w+
!/
char as simple-keyword, doubling//
!/etc/hosts
assimple-keyword
would be!//etc/hosts
(yes second/
is not necessary).narrow-ui:toggle-negate-query
add/remove!
prefix of current-word.narrow-ui:toggle-regex-query
add/remove/
prefix of current-word.*
is highlighted, but**
is not highlighted.The text was updated successfully, but these errors were encountered: