-
Notifications
You must be signed in to change notification settings - Fork 12
ProviderConfig
t9md edited this page Mar 2, 2017
·
1 revision
directionToOpen
caseSensitivityForNarrowQuery
negateNarrowQueryByEndingExclamation
autoPreview
autoPreviewOnQueryChange
closeOnConfirm
revealOnStartCondition
- Possible value and short descriptions are here.
-
inherit
: pick global setting. -
right
: default, no behavior change -
right:never-use-previous-adjacent-pane
: don't use previous adjacent pane( use only next adjacent ) -
right:always-new-pane
: -
down
: -
down:never-use-previous-adjacent-pane
: -
down:always-new-pane
:
-
- When
true
,foo!
means "not matching foo" as like!foo
means that. - Only
select-files
provider enabled by default. ( To excludemd
file bymd!
).- This is better than
!md
keystroke. - Since user can confirm which files are excluded.
- At the timing when query become
md
and before adding ending!
.
- This is better than
- When you move cursor on
narrow-editor
, item under cursor is automatically opened to preview.
- When you input query and items on
narrow-editor
re-rendered, auto-preview first item.
- When
true
, closenarrow-editor
on confirmed byenter
. - Set to
false
if you want keepnarrow-editor
open after confirmation.- Or you can use
narrow-ui:confirm-keep-open
as alternative.
- Or you can use
Reveal closest item at startup.
- Value can be
-
never
: Never reveal -
always
: Always try to reveal -
on-input
: Reveal when initial query was provided via-by-current-word
commands.
-
- Each provider have different default value( opinionated ). So no global default.
- Basic strategy to choose default value is below.
- boundToSingleFile provider(
scan
,fold
,symbols
) haveon-input
default - Other have
always
default(search
,atom-scan
,git-diff-all
).
- boundToSingleFile provider(
- Basic strategy to choose default value is below.