:e file.txt

Category: Vim/Neovim

:e file.txt

Open a file in the current buffer

Opens a file in the current Vim buffer, replacing what's currently shown.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.