You can do it in three steps:
Shift-vj...j
to select some lines:'<,'>w! >>file.bak
to save selected lines to file.bak(append)You can write a user-defined command Sbak if you like:
com! -nargs=1 -range Sbak call MoveSelectedLinesToFile() fun! MoveSelectedLinesToFile(filename) exec “’<,’>w! »” . a:filename norm gvd endfunc