In vim I’d like to create a command abbreviation for the key strokes 30 <C-w> v, i.e. split the current window vertically at a width of 30 characters.
This in my .vimrc file, however, gives: E148: Regular expression missing from global:
cabbr SomeCommand 30 <C-w> v
Obviously I’m doing something wrong.
Your command sequence won’t work in command mode, use the following instead: