<- Back to shtanton's homepage
aboutsummaryrefslogtreecommitdiff
path: root/main/parse.go
diff options
context:
space:
mode:
Diffstat (limited to 'main/parse.go')
-rw-r--r--main/parse.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/main/parse.go b/main/parse.go
index 9cc93e7..8211444 100644
--- a/main/parse.go
+++ b/main/parse.go
@@ -251,6 +251,14 @@ func (p *parser) parseBasicCommand(commandChar rune) Command {
return PrintLiteralsCommand {items: items}
case 'o':
return NoopCommand{}
+ case 'x':
+ return SwapXRegCommand{}
+ case 'X':
+ return AppendXRegCommand{}
+ case 'k':
+ return SwapPathCommand{}
+ case 'K':
+ return AppendPathCommand{}
default:
panic("Invalid command")
}