/as [keys] [Whatever text you want]
This would add a line to a file for shortcuts that identifies "keys" as a shortcut for "Whatever text you want". It would do this instead of adding /as... as a new command.
/es
This would be the first command in my list. It would DW iff the last word is in the shortcut file as a key and insert in its place the "Whatever text you want", and then qq. If the last word isn't in there, it would do nothing.
I will take a look later and maybe add it myself if I'm capable.
/as [keys] [Whatever text you want] This would add a line to a file for shortcuts that identifies "keys" as a shortcut for "Whatever text you want". It would do this instead of adding /as... as a new command. /es This would be the first command in my list. It would DW iff the last word is in the shortcut file as a key and insert in its place the "Whatever text you want", and then qq. If the last word isn't in there, it would do nothing.
I will take a look later and maybe add it myself if I'm capable.