" settings for flog " Only for testing function Flog_echo_command(command, ...) echom flog#Format(a:command) endfunction setlocal nospell nnoremap <buffer> <silent> rb :call flog#Exec(flog#Format('Git reset %h'))<CR> nnoremap <buffer> <silent> rbh :call flog#Exec(flog#Format('Git reset --hard %h'))<CR> nnoremap <buffer> <silent> cp :call flog#Exec(flog#Format('Git cherry-pick %h'))<CR> vnoremap <buffer> <silent> cp :<C-U>call flog#Exec(flog#Format("Git cherry-pick %(h'>)^..%(h'<)")<CR>