Lightline.vim: View full file path all time instead of 1<C-g>

Created on 4 Sep 2019  路  2Comments  路  Source: itchyny/lightline.vim

Hi,
Is there any way I can view my full file path (from my home, '~' directory) and not relative path all the time at bottom of screen, maybe in place where default ----INSERT---- is present. It is very tedious to press 1 every time to see full path.

I found that using set statusline+=%F shows full path but then it hides vim's mode (normal, insert, etc.) setup by this plugin.

Please help. Thanks for support.

configuration

Most helpful comment

Configure as follows.

let g:lightline = {
      \ 'component': {
      \   'filename': '%F',
      \ }
      \ }

All 2 comments

Configure as follows.

let g:lightline = {
      \ 'component': {
      \   'filename': '%F',
      \ }
      \ }

Thanks, this helped!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ahmedelgabri picture ahmedelgabri  路  3Comments

kbc8090 picture kbc8090  路  3Comments

8i8 picture 8i8  路  3Comments

dessaya picture dessaya  路  3Comments

yunlingz picture yunlingz  路  4Comments