" settings for flog " Only for testing function Flog_echo_command(command, ...) echom flog#format_command(a:command) endfunction nnoremap rb :call flog#run_command('Git reset %h', 1, 1) nnoremap rbh :call flog#run_command('Git reset --hard %h', 1, 1) nnoremap cp :call flog#run_command('Git cherry-pick %h', 1, 1) vnoremap cp :call flog#run_command("Git cherry-pick %(h'>)^..%(h'<)", 1, 1) "vnoremap cp :call Flog_echo_command("Git cherry-pick %(h'>)^..%(h'<)", 1, 1)