diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-06-07 10:08:09 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-06-07 10:08:09 -0400 |
commit | 150a271b360478e4769928cd94175b4f9acabe2b (patch) | |
tree | 5ec0bcf1c10a39f5a79469ff85e56ea0582115a0 | |
parent | b83e7c9fa6a0d187a0f20d98d522cff792053cdd (diff) | |
download | aerc-150a271b360478e4769928cd94175b4f9acabe2b.tar.gz |
Add binding to toggle headers
-rw-r--r-- | config/binds.conf | 1 | ||||
-rw-r--r-- | widgets/account.go | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/config/binds.conf b/config/binds.conf index b1920121..2c0476ad 100644 --- a/config/binds.conf +++ b/config/binds.conf @@ -46,6 +46,7 @@ q = :close<Enter> | = :pipe<space> f = :forward<Enter> D = :delete<Enter> +H = :toggle-headers<Enter> rr = :reply<Enter> rq = :reply -q<Enter> Rr = :reply -a<Enter> diff --git a/widgets/account.go b/widgets/account.go index 0feac4ae..1921dbd6 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -48,7 +48,7 @@ func NewAccountView(conf *config.AercConfig, acct *config.AccountConfig, } dirlist := NewDirectoryList(acct, logger, worker) - if (conf.Ui.SidebarWidth > 0) { + if conf.Ui.SidebarWidth > 0 { grid.AddChild(ui.NewBordered(dirlist, ui.BORDER_RIGHT)) } |