" diffget is pretty silly, there's no good way to just copy the diff block " into your region. so, use a hack via undo + copy + paste: " " \2 puts the diff in window 2 after the diff in the current window " ctrl-\2 replaces the diff in the window with the diff in window 2, and also " puts the old contents of the current window into the paste buffer. " That way you can paste it anywhere in the file. " map \3 :diffget 3u:'[,']y:diffupdate:diffget 3P:diffupdate map 3 :diffget 3u:'[,']y:diffupdate:diffget 3:diffupdate map \2 :diffget 2u:'[,']y:diffupdate:diffget 2P :diffupdate map 2 :diffget 2u:'[,']y:diffupdate:diffget 2:diffupdate map \1 :diffget 1u:'[,']y:diffupdate:diffget 2P:diffupdate map 1 :diffget 1u:'[,']y:diffupdate:diffget 1:diffupdate