LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 12-13-2008, 09:40 PM   #1
nicostcado
LQ Newbie
 
Registered: Oct 2008
Posts: 6

Rep: Reputation: 0
Vim problem with tabs and session


Hello,
I use vim version 7.1.285
I like to use session and I discover you can use tabs in vim 7 like you can do in gvim.
But now when I save my session (with some tabs open) and open again this session, my tabs are not on the windows.
They are in the buffer but I would like to have its immediatly on the screen.
That was working ok before but I was looking for a plugin to manage my sessions,
I tried some different and now I have this problem.
I don't have this problem when I split a window. I tried to change all my vimrc with no effect
I don't no where to look for, it's not my vimrc which is wrong, I didn't find any answer an the web.

If anybody have a idear, I will be happy...

Thanks for your time,
Nico

Last edited by nicostcado; 12-14-2008 at 05:15 AM.
 
Old 12-14-2008, 11:03 AM   #2
nicostcado
LQ Newbie
 
Registered: Oct 2008
Posts: 6

Original Poster
Rep: Reputation: 0
I find the solution, so I give it here if somebody need :
by default the session option (what will be preserved) are "blank,buffers,curdir,folds,help,options,winsize"
You can define this with set sessionoptions=blank,buffers,[etc]
In my help there are no more option than the default one, but this help is not exactly for vim 7, there is another option : tabpages !!!
You only have to put this "set sessionoptions=blank,buffers,curdir,folds,help,options,resize,tabpages,winsize" in your vimrc to add this option.
YES I'VE GOT IT !!!
bye,

Nico
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vim not putting tabs in Makefile sarin Programming 3 11-18-2011 08:38 AM
vim : i wanna open several files using tabs at the same time cryincold Linux - Software 3 11-02-2008 07:25 PM
Firefox - Tabs Problem Irajas Linux - Software 5 05-14-2007 03:29 PM
LXer: Vim tips: Using tabs LXer Syndicated Linux News 0 01-24-2007 10:21 PM
Emacs problem with tabs Nylex Linux - Software 2 09-03-2004 04:28 AM


All times are GMT -5. The time now is 10:28 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration