`dired-imenu` integrates `imenu` in `dired` so you can easily jump to any line or directory in the current buffer (to rename it, change its permissions...