I want to do following behaviour
let s:cmd = “echo ‘here is a long command’”
map aa :execute s:cmd<cr>
“ error, mapping cannot access script variable
map bb :execute <SID>cmd<cr>
“ error no variable named <SNR>…cmd
How to access the script variable in mapping?