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. Sorry if it was too easy for it to be a question. Here is how to do it

let g:airline#extensions#tabline#fnamemod = ':.'
let g:airline#extensions#tabline#fnamecollapse = 0
  • This is still not working for me – Tillus Aug 27 at 17:45
  • 1
    "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. – Martin Tournoij Aug 27 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.