1

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

1 Answer 1

1

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
2
  • This is still not working for me
    – tbrodbeck
    Commented Aug 27, 2019 at 17:45
  • 3
    "It doesn't work" it not very helpful @Tillus, what is your configuration, what do you expect, and what do you see? It may be better to just ask a new question, considering this one is several years old. Commented Aug 27, 2019 at 21:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.