在vim中显示当前正在编辑的文件名(包括路径)

在 etc/vim/vimrc中添加

set statusline+=%f

set laststatus=2 可以显示隐藏的状态栏

原文地址:https://www.cnblogs.com/harveyaot/p/3090632.html