Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

When I edit files with vim there is always this in the cmd line area,under the status line,all buffers' names(image : http://ompldr.org/vOHZtdg)

Is there any way I can remove it?

share|improve this question
    
Are you using some plugin for buffer management? By the way, you could also show us your vim settings. –  nozimica Jun 1 '11 at 21:52
    
What does :set statusline show as the current format string for your status bar? –  Caleb Jun 2 '11 at 7:21
    
This is the statusline in my .vimrc: set statusline=\ \%F%m%r%h%w\ ::\ %y\ [#\%n]\%=\ [%p%%:\ %v\::\%l/%L]\ –  bollovan Jun 2 '11 at 12:01
    
@nozimica I'm using MiniBufExplorer if that helps. –  bollovan Jun 6 '11 at 13:47
add comment

2 Answers

Your vim config file has some extra custom stuff somewhere because that's not part of the default package.

Try adding this to your ~/.vimrc file:

:set laststatus=0

You can test by just running that in an open editor.

Edit: Based on your reported status line, you should probably change:

set statusline=\ \%F%m%r%h%w\ ::\ %y\ [#\%n]\%=\ [%p%%:\ %v\::\%l/%L]\ –

…to:

set statusline=\ \%F%m%r%h%w\ ::\ %y\ [#\%n]

…but you may need to experiment to see which parts you want to keep and which parts are the line you don't want.

share|improve this answer
    
By setting laststatus=0 the statusbar dissapears,I want to hide only that text that appears under the statusline. –  bollovan Jun 2 '11 at 11:59
    
See my edit, it look like your status line preference just has more stuff than you want to see. You can par it down yourself. –  Caleb Jun 2 '11 at 12:12
    
Hmm,that doesn't work.Also the last part in the statusline is for percent , colon , current line / all lines. –  bollovan Jun 2 '11 at 12:34
add comment

It looks like buftabs.vim which modifies the 'statusline' as you switch buffers, then restores 'stl'.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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