mystatusinfo.vim : Display Current Tab info on status line
| script karma |
Rating 10/5,
Downloaded by 852 |
Comments, bugs, improvements
|
Vim wiki
|
| created by |
| vijayandra singh |
| |
| script type |
| utility |
| |
| description |
| Multiple file on different tabs becomes confusing when they have same file name, this utility displays current tab info on status line. |
| |
| install details |
Just drop it in plugin directory or paste these contents in vimrc file.
set statusline=%{CurTabColor()}\ %<%F%h%m%r%h%w%y\ %{strftime(\"%c\",getftime(expand(\"%:p\")))}%=\ l:%l\,%L\ c:%c%V\ ps:%o\ hex:%b\ %P
fu! CurTabColor()
let currentTab = tabpagenr()
let s_line= '(tb=' . currentTab . ')'
return s_line
endf |
| |
script versions (upload new version)
Click on the package to download.
ip used for rating: 216.73.216.44
|