|
@@ -101,6 +101,18 @@ func DefaultActions() []Action {
|
|
|
m.Current().Insert('\n')
|
|
m.Current().Insert('\n')
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
|
|
+ Action{
|
|
|
|
|
+ Binding: "shift+ctrl+Rune[v]",
|
|
|
|
|
+ Command: "paste",
|
|
|
|
|
+ HasArgs: false,
|
|
|
|
|
+ Callback: func(m *Model, args []string) {
|
|
|
|
|
+ m.Screen.GetClipboard()
|
|
|
|
|
+
|
|
|
|
|
+ //for _, r := range m.Screen.GetClipboard() {
|
|
|
|
|
+ // m.Current().Insert(r)
|
|
|
|
|
+ //}
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
Action{
|
|
Action{
|
|
|
Binding: "ctrl+c",
|
|
Binding: "ctrl+c",
|
|
|
Command: "q",
|
|
Command: "q",
|