nav can now update current directory according to related buffer content