I have the following directory structure
Current Directory
|--components
|--|--Artist
|--|--|--index.js
so i want to display "Artist/index.js" or "C/c/Artist/index.js" in my tabline in vim-airline
I figured it out. These are the lines I added to the configuration file.
let g:airline#extensions#tabline#fnamemod = ':.'
let g:airline#extensions#tabline#fnamecollapse = 0