support ctrl-shift-home/end on Windows

fixes issue #2989
Merge pull request #2994 from jordanbtucker/patch-1

support ctrl-shift-home/end on Windows