I'm trying to map commands that are used with the vim surround plugin. Using vim surround you can type
ysiW], for example, while in normal mode and it will surround the word at the cursor with brackets. I tried doing
nonoremap ;y ysiW] but it doesn't work (nothing happens).
" These work for other things nnoremap ;li :Limelight!!<CR> nnoremap ;ww g<C-g> " Below doesn't work nnoremap ;y ysiW]
Is there a reason it won't work using this syntax?