From 1b082bb352606094f10e1eda06735c9f8677189e Mon Sep 17 00:00:00 2001 From: ayn2op Date: Sun, 8 Jan 2023 22:20:58 +0530 Subject: [PATCH] Add config for selecting messages --- config.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config.go b/config.go index cfb19d3..4e2d33d 100644 --- a/config.go +++ b/config.go @@ -18,6 +18,8 @@ type ( CommonKeysConfig `yaml:",inline"` Reply string `yaml:"reply"` ReplyMention string `yaml:"reply_mention"` + SelectPrevious string `yaml:"select_previous"` + SelectNext string `yaml:"select_next"` } MessageInputKeysConfig struct { @@ -107,6 +109,9 @@ func newConfig() (*Config, error) { CommonKeysConfig: commonKeys, Reply: "Rune[r]", ReplyMention: "Rune[R]", + + SelectPrevious: "Up", + SelectNext: "Down", }, MessageInput: MessageInputKeysConfig{ CommonKeysConfig: commonKeys,