aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-07-17 18:42:03 -0400
committerDrew DeVault <sir@cmpwn.com>2019-07-17 18:42:03 -0400
commitfe7230bb9acc5dc9cc8a982a35196dd6796b5360 (patch)
tree699960f50b8440d07c0960c6d14284af634e0574
parentfb124139f3a84c03708079e45c2f7d41d6ededca (diff)
Add :cp alias for :copy
-rw-r--r--commands/msg/copy.go2
-rw-r--r--config/config.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/commands/msg/copy.go b/commands/msg/copy.go
index 6bf33cd..8056e38 100644
--- a/commands/msg/copy.go
+++ b/commands/msg/copy.go
@@ -18,7 +18,7 @@ func init() {
}
func (_ Copy) Aliases() []string {
- return []string{"copy"}
+ return []string{"cp", "copy"}
}
func (_ Copy) Complete(aerc *widgets.Aerc, args []string) []string {
diff --git a/config/config.go b/config/config.go
index 6f3345d..4a049fa 100644
--- a/config/config.go
+++ b/config/config.go
@@ -79,8 +79,8 @@ type FilterConfig struct {
type ViewerConfig struct {
Pager string
Alternatives []string
- ShowHeaders bool `ini:"show-headers"`
- AlwaysShowMime bool `ini:"always-show-mime"`
+ ShowHeaders bool `ini:"show-headers"`
+ AlwaysShowMime bool `ini:"always-show-mime"`
HeaderLayout [][]string `ini:"-"`
}