How can I permanently display the path of the current file in Vim?

后端 未结 8 742
别那么骄傲
别那么骄傲 2020-12-12 12:26

I know CTRLg displays the current file you\'re working on. Is there a way to modify my .vimrc such that the filename/path is always displa

8条回答
  •  萌比男神i
    2020-12-12 13:06

    If you are using vim-airline, put in .vimrc:

    let g:airline_section_c = '%<%F%m %#__accent_red#%{airline#util#wrap(airline#parts#readonly(),0)}%#__restore__#'
    

    This is a modification of the airline default, changing %f by %F.

提交回复
热议问题