add 'cmd-interrupt' command to kill current shell

This commit is contained in:
Gokcehan committed 2018-04-03 22:56:38 +03:00
1 parent c63c8f63ac
commit e55c490bf5
5 files changed
+15

No files matched your search

+1
View File
@@ -124,6 +124,7 @@ func init() {
gOpts.cmdkeys["<c-w>"] = &callExpr{"cmd-delete-word", nil}
gOpts.cmdkeys["<c-y>"] = &callExpr{"cmd-put", nil}
gOpts.cmdkeys["<c-t>"] = &callExpr{"cmd-transpose", nil}
gOpts.cmdkeys["<c-c>"] = &callExpr{"cmd-interrupt", nil}
gOpts.cmds = make(map[string]expr)