Patch for two annoying bugs

I've just received a nice patch from cbass that fixes 2 bugs: searching for directories and moving up and down when using '/' or 'g' (search) command. It is too late to include it in 2.3.2, but you can download the patch from the patches section.

Patches: