-
Notifications
You must be signed in to change notification settings - Fork 16
Home
t9md edited this page Mar 1, 2017
·
24 revisions
-
narrow-provider
: Provide items to narrow and action to jump to item selected. -
narrow-ui
: in most case, it meansnarrow-editor
.- handles user input and update item list.
- manage
narrow-editor
andcontrol-bar
, syntax highlight grammar.
-
narrow-editor
: text-editor where items are rendered and where you input narrow-query.
- Used to filter items on
narrow-editor
. - You can input query on first line of
narrow-editor
. - Basically query is matched as-is( No regular expression support currently ).
- Can chain multiple query separating by
whilte-space
.- e.g.
foo bar
means, select items matchesfoo
andbar
.
- e.g.
-
*
is treated as wildcard, internally converted to.*
regular expression.- To search
*
itself, use*
solely separate it by space. - Or use double
**
. ( e.g. To match to string*hello
use**hello
as query).
- To search
-
!
is treated as negate,!foo
means 'not matchingfoo
'.- If config
negateNarrowQueryByEndingExclamation
set totrue
, you can also usefoo!
.
- If config
- Query case sensitivity is configurable with config
caseSensitivityForNarrowQuery
.- Can override global setting on each provider if you want.
- See also this issue