Add "paste" option to enable aggressive pasting

Ref #1043
This commit is contained in:
Zachary Yedidia
2020-01-02 12:42:39 -05:00
parent 021f8da6f1
commit dc4da37908
7 changed files with 73 additions and 4 deletions

View File

@@ -546,6 +546,8 @@ func SetGlobalOptionNative(option string, nativeValue interface{}) error {
// } else {
// config.SetAutoTime(0)
// }
} else if option == "paste" {
screen.Screen.SetPaste(nativeValue.(bool))
} else {
for _, pl := range config.Plugins {
if option == pl.Name {