I want to make a backup of menu.vim using the copy command:
exe '!cp "c:\Program Files\Vim\vim73\menu.vim" d:\bkp_menu-vim_DATE_TIME.txt'
I would like to add the DATE and TIME to the name of the backup file.
I found this command: <C-R>=strftime("%Y-%m-%d_%H-%M")
but don’t know how to insert it in the copy command. Can anyone help me?
Does this do what you want?