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

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
    – Tillus
    Aug 27 '19 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. Aug 27 '19 at 21:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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