Is there some way to have two windows open with a dired buffer in one and a file view of current file in the other?

v loads the file into the dired buffer.

o loads the file into the other window but changes focus.

I would like the ability to browse the contents of a directory using two windows, but can't figure out how.

Any suggestions?

1 Answer 1


The default keybinding C-o bound to the command dired-display-file, which displays the file in another window without changing focus.

[The list of all the major-mode keybindings is displayed on hitting C-h m or calling the command M-x describe-keymap RET <dired-mode-map>.]


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.