Add :cp alias for :copy
This commit is contained in:
parent
fb124139f3
commit
fe7230bb9a
2 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ func init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (_ Copy) Aliases() []string {
|
func (_ Copy) Aliases() []string {
|
||||||
return []string{"copy"}
|
return []string{"cp", "copy"}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (_ Copy) Complete(aerc *widgets.Aerc, args []string) []string {
|
func (_ Copy) Complete(aerc *widgets.Aerc, args []string) []string {
|
||||||
|
|
|
@ -79,8 +79,8 @@ type FilterConfig struct {
|
||||||
type ViewerConfig struct {
|
type ViewerConfig struct {
|
||||||
Pager string
|
Pager string
|
||||||
Alternatives []string
|
Alternatives []string
|
||||||
ShowHeaders bool `ini:"show-headers"`
|
ShowHeaders bool `ini:"show-headers"`
|
||||||
AlwaysShowMime bool `ini:"always-show-mime"`
|
AlwaysShowMime bool `ini:"always-show-mime"`
|
||||||
HeaderLayout [][]string `ini:"-"`
|
HeaderLayout [][]string `ini:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue