[filter] Add file/dir filter and tweak the keymap a bit