Add :cp alias for :copy

This commit is contained in:
Drew DeVault 2019-07-17 18:42:03 -04:00
parent fb124139f3
commit fe7230bb9a
2 changed files with 3 additions and 3 deletions

View file

@ -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 {

View file

@ -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:"-"`
}