Re: How to display 'current working directory' in status bar only if it differs from current file path?

2019-12-15 Thread Lifepillar
On 2019-12-15, Igor wrote: > In Vim 8.2 I have two information in my status line: > - full path to my current opened file > - full path to current working directory > > I have set the following commands: > set laststatus=2 " always display status line > set statusline=

How to display 'current working directory' in status bar only if it differs from current file path?

2019-12-15 Thread Igor
In Vim 8.2 I have two information in my status line: - full path to my current opened file - full path to current working directory I have set the following commands: set laststatus=2 " always display status line set statusline=Opened_file: " label se