support ctrl-d in normal mode

make it possible to exit with ctrl-d in normal mode.

not sure how to test it though..