aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/compose.go3
-rw-r--r--app/exline.go3
2 files changed, 6 insertions, 0 deletions
diff --git a/app/compose.go b/app/compose.go
index 9ab8206b..bf1d32cb 100644
--- a/app/compose.go
+++ b/app/compose.go
@@ -245,6 +245,7 @@ func (c *Composer) buildComposeHeader(cmpl *completer.Completer) {
cmpl.ForHeader(h),
uiConfig.CompletionDelay,
uiConfig.CompletionMinChars,
+ &config.Binds.Compose.CompleteKey,
)
}
c.editors[h] = e
@@ -277,6 +278,7 @@ func (c *Composer) buildComposeHeader(cmpl *completer.Completer) {
cmpl.ForHeader(h),
uiConfig.CompletionDelay,
uiConfig.CompletionMinChars,
+ &config.Binds.Compose.CompleteKey,
)
}
c.editors[h] = e
@@ -1420,6 +1422,7 @@ func (c *Composer) addEditor(header string, value string, appendHeader bool) str
c.completer.ForHeader(header),
uiConfig.CompletionDelay,
uiConfig.CompletionMinChars,
+ &config.Binds.Compose.CompleteKey,
)
}
c.editors[header] = e
diff --git a/app/exline.go b/app/exline.go
index b941b100..61fc340a 100644
--- a/app/exline.go
+++ b/app/exline.go
@@ -26,6 +26,7 @@ func NewExLine(cmd string, commit func(cmd string), finish func(),
tabcomplete,
config.Ui.CompletionDelay,
config.Ui.CompletionMinChars,
+ &config.Binds.Global.CompleteKey,
)
}
exline := &ExLine{
@@ -43,6 +44,7 @@ func (x *ExLine) TabComplete(tabComplete func(string) ([]string, string)) {
tabComplete,
config.Ui.CompletionDelay,
config.Ui.CompletionMinChars,
+ &config.Binds.Global.CompleteKey,
)
}
@@ -55,6 +57,7 @@ func NewPrompt(prompt string, commit func(text string),
tabcomplete,
config.Ui.CompletionDelay,
config.Ui.CompletionMinChars,
+ &config.Binds.Global.CompleteKey,
)
}
exline := &ExLine{