Normal mode commands in snippets
Asked by
Duncan de Wet
If I type
:normal kyypVr-jdd
in Vim, it does the same as typing kyypVr-jdd in normal mode (it writes ------ to length of the above line, useful for ASCII doc).
However, I can't get it to work in a UltiSnips snippet; I've tried many variations of
snippet --
`!v normal kyypVr-jdd`
endsnippet
but just can't get it to work.
Is this supposed to work? If not it would be a nice feature to have. However I can't see why it wouldn't work as it is Vimscript after all.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- UltiSnips Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- SirVer
- Solved:
- Last query:
- Last reply:
To post a message you must log in.