Editing multiple files efficiently with Vim

Опубликовано: 13 Май 2026
на канале: fgtech
1,028
2

This is the setup I use to efficiently navigate through multiple files. I use the Ctrl-P vim plugin, and I mapped the buffer navigation to the Enter key.

In this way i can press Enter in normal mode, look at the list of open files (at the bottom of the screen), select the one I want to edit and press Enter again. To search quickly through the list of files, just type part of the file name, select the file and press Enter.

Another useful tip: pressing Enter twice you can jump to the most recent file you were editing. This is very useful if your workflow requires editing two files at the same time.