1

How can I show only the file name on vim tabs (e.g. "file.py" instead of "n/t/s/file.py") for terminal vim?

Joohwan
  • 2,374
  • 1
  • 19
  • 30
  • 1
    http://stackoverflow.com/questions/2468939/how-to-let-tab-display-only-file-name-rather-than-the-full-path-in-vim – mitnk Nov 28 '13 at 07:26

2 Answers2

2

Try this:

:set guitablabel=%t

I found it here, may be more info of use: https://groups.google.com/forum/#!topic/vim_use/9f7BM8v3FhA

malexander
  • 4,522
  • 1
  • 31
  • 37
1

The answer by malexander only works with gvim. For terminal (console) vim I had to use:

set tabline=
Joohwan
  • 2,374
  • 1
  • 19
  • 30