Is there a way to auto resize the active buffer in vim?

I use vim as my main code environment, and often have some vertical splits with multiple files. Is there a way that I can make it such that when I enter a  buffer and it becomes active, that it will automatically expand to at least 80c wide? And that it would also skip non-file windows like taglist?

For options on resizing a window, type ':help ^W' for the full list.  In the meantime, play with
Ctrl-W +
Ctrl-W -
Ctrl-W <
Ctrl-W >
Ctrl-W =
Ctrl-W _
As for automatically 80c, you'd might need to write a vim script or check if one already exists.
Last edited by saline (2010-06-08 16:27:38)

Similar Messages

  • Is there a way to automatically open the Activity Viewer & make it float?

    I just upgraded from Panther Mail, and I really miss knowing what was going on and having to constantly open the activity viewer and reordering the windows every time I do something. Is there a way to somehow make the activity viewer open with mail each time and keep it floating above the other windows (so I can have an indication of what's going on like in Panther Mail)?
    I'm afraid I'm going to shut mail down in the middle of a crucial activity. No doubt that might well be behind all the problems that develop with it over time.
    Thanks!

    I had two problems relating directly to the Tiger upgrade, one I solved with help here. That was importing saved mail that failed to be imported into one mailbox, the saved messages were showing up as IMAP messages ("haven't been downloaded from the server yet"). When both my accounts were POP, I never even had an IMAP account. I solved that and everything else with mail is fine now, except I want to see what's going on like I was able to in Panther. I especially miss not seeing outgoing mail sent progress, especially with long messages.
    The other issue was font related, and I still cannot get Fontbook to save the fonts I have disabled, so I just removed the duplicates manually (leaving the ones in the system folder as the defaults). As long as I don't open fontbook again, and it doesn't automatically re-enable the fonts, my system is fine. I will leave it alone now for a couple of years like I was able to in Panther. I have over 3000 fonts installed and available at all times which I need for my print work.
    Other than that and a 25 minute log-in time (as it reads the fonts; in Panther it was 7 minutes and I learned to live with that) everything is finally ok.
    The long log-in might also be Spotless related; I don't know enough about it to figure it out; all I know is if it is, it is a small price to pay for the way the system flies not having to index all my loaded drives all the time, not to mention the wear and tear on my drives.
    Tiger is so much faster than Panther (once I shut down Spotlight) it's like having a processor upgrade. Once you work out all the glitches, it's definitely worth the money and time put in. I was very careful with the install... counting backup time the usual precautions and updates to everything afterward (including third-party programs), it took over 30 hours.
    Thanks!

  • Is there a way to Auto add the / while inputting a date into a textfield

    For example, if typing a date into a text file, is there a
    way to automatically add the /'s to the date as it's being
    typed?

    Scooby Doobie Doo wrote:
    > For example, if typing a date into a text file, is there
    a way to automatically add the /'s to the date as it's being typed?
    Yes

  • Is there a way to Auto-Fill the Album Artist field for an entire library?

    The same way that iTunes can "Get Album Artwork" or "Get Track Names" is there a way to "Get Album Artist"? iTunes automatically added some, but my 2 year old daughter was playing on my computer, and the next thing I know, the whole column was erased. Any solutions to autofill this?

    Re:  too many numbers
    In a helper column enter a rounding formula and fill down...
      =ROUND(A2,2)
    Copy the helper column and paste Values over column A.
    Jim Cone
    Portland, Oregon USA
    free & commercial excel programs (n/a xl2013)
    https://jumpshare.com/b/O5FC6LaBQ6U3UPXjOmX2

  • HT4539 Is there any way to auto-start the Apple mail app?

    Our company offers a 7/24 service where a user can leave a voice mail in our system and our mail server will send an urgent mail message to the iPhone of the employee on duty so it can be handled in a timely manner. The problem we are having is that if someone turns off their phone and starts it again (or if the user opens the running apps window and shuts down the mail app), the users are not getting those urgent emails.
    While I understand having an auto-starting app would be undesirable, since every developer might start activating that feature, does Apple iOS6 have any way to tell the mail app to restart on iPhone boot? We have a few people using other smartphones with a competing O/S that sounds similar to "asteroid" ;-) and the mail appears to be always operational, even if you shut down the app.

    And be sure to set up Notifications for mail so the phone will beep, buzz, flash, whatever when a message comes in.
    One issue though (discussed elsewhere): the phone will only Notify once. If you didn't hear or see it, there won't be any further warning (unlike, say, Blackberry's flashing LED). You're gonna have to grab the phone and at least bring up the lock screen to see if there are any notifications queued up.

  • Is there a way to automatically resize the text box to fit the text inside, without using the selection tool to resize the corners in Illustrator and Photoshop?

    I'm wondering if there is a way where I can quickly resize a text box to fit exactly around the text inside, so pretty much the smallest the text box can go without being too small to fit the text? I know you can do this manually with the selection tool, but is there a button/command that automatically does this in one go?
    Thanks

    Try this script. Save the page as .jsx the the "Presets>Scripts" AI folder. When you restart AI it will appear in the "Scripts" menu. Select the text block and run the script.
    Thanks to Nathaniel Vaughn KELSO for the script.
    http://kelsocartography.com/scripts/scripts/nvkelso/FitToTextContent_v2.jsx

  • Is there a way to automatically resize the text box to fit the text inside, without using the selection tool to resize the corners in Illustrator?

    I'm wondering if there is a way where I can quickly resize a text box to fit exactly around the text inside, so pretty much the smallest the text box can go without being too small to fit the text? I know you can do this manually with the selection tool, but is there a button/command that automatically does this in one go?
    Thanks

    The short answer is No. But I see that Ray has given you an option.

  • Is there a way to auto eject the CD after burning it with I-tunes?

    looking for a real auto-eject, not having to manually do a cntrl-e....
    thanks Jeff

    A similar effect occurs with Mavericks 10.9.5, in that when you see the cursor as a double-arrow
    whilst hovering over the window title-bar, it will expand the open window and not just drag it...
    Be sure to not grab the window by the upper edge and it should just move. Not sure why these
    features were adopted over the older proven ones that were for the most part trouble-free.
    Also, a lack of double-arrows in the scroll area of all system & application windows is an issue
    for those who use a standard mouse without a touch surface, such as an original USB mouse.
    {near Mile 27 Seward Hwy, Kenai Mts AK - 2008}
    There may or may not be a way to change the window issue where attempts to move or drag it
    only expand its presence; most of these new changes are built-in and not adjustable to users.
    Nonetheless...
    Good luck & happy computing!

  • Is there a way to auto capitalize the first letter of every word?

    I Like To Type In This Way. I Was Wondering If There Is A Setting That Will Automatically Capitalize The First Letter Of Each Word So That I Don't Have To Keep Hitting Shift Before Each First Letter.
    Thank You

    AdamMarshall wrote:
    Nice to see so many 'helpful' responses.
    This casing is useful for example, on an Address field. It would be good if the OS had this option for developers.
    I'm pretty sure it does as I've certainly had apps that, in certain fields, do use title case.

  • Is there a way to permanently resize the fonts?

    A friend of mine just bought his first Mac and is using Safari.  He is able to enlarge the fonts when he opens Safari, but has to resize them everytime he starts Safari.  I don't use Safari, so I can't help him - any solution?  TIA.

    Same question.
    I recently left Snow Leopard to Mountain Lion.
    Previously, in the side bar of Mail, (the one you make visible using "Show" in a previous post here), I was able to drag and drop any of the Reception mailboxes to the place I wanted to select, to put them in the order I wished, and this order remained until I decide to change it.
    This seems not possible any more, or... just for the current session. If I close Mail and reopen, Reception boxes are re-ordered in alphabetic way.
    Any way to make my choice permanent as before ???
    To make it more clear, ordering my way is possible by drag and dropping for private mailboxes, but not for reception mailboxes associated to different mail accounts, the order is lost once Mail is closed.

  • Is there a way to auto-configure the optimal screen settings for a macbook pro running windows 7? When running Lion the screen looks 10x better.

    Just like the title reads. 2011 MBP Quad Core 15". Used boot camp to instal Windows 7 Home premium but screen resolution is bad. Thank you

    No. Reopen Boot Camp Assistant and click on the Continue button. You'll see in that screen a checkbox to download drivers. Check that box and uncheck the other boxes. Have a freshly formatted USB flash drive or hard drive connected. Must be partitioned MBR and formatted FAT32. You can format it while in Windows. Have it connected when you use Boot Camp Assistant. Once you click on the Continue button again BCA will attempt to download the drivers.
    Once you have the drivers boot Windows. It should autorun the installer you downloaded after Windows gets itself settled in.

  • I am using the PCI-6110E/​6111E with the NI-DAQ software version6.7​.Is there a way to record at the same time analog and digital channels?I​f,ye

    s can I have timestamps for each sample?I mean,is there a notion of time information on this board?Finally,is there a way to know ,in the double buffer's case,the number of samples in the halfbuffer which is not full if the acquisition stops by a trigger?.I am using the PCI-6110E/6111E with the NI-DAQ software version6.7.Is there a way to record at the same time analog and digital channels?If,yes can I have timestamps for each sample?I mean,is there a notion of time information on this board?Finally,is there a way to know ,in the double buffer's case,the number of samples in the halfbuffer which is not full if the acquisition
    stops by a trigger?.
    Thank you for your interest in advance

    s can I have timestamps for each sample?I mean,is there a notion of time information on this board?Finally,is there a way to know ,in the double buffer's case,the number of samples in the halfbuffer which is not full if the acquisition stops by a trigger?.PALE wrote:
    >
    > I am using the PCI-6110E/6111E with the NI-DAQ software version6.7.Is
    > there a way to record at the same time analog and digital
    > channels?If,yes can I have timestamps for each sample?I mean,is there
    > a notion of time information on this board?Finally,is there a way to
    > know ,in the double buffer's case,the number of samples in the
    > halfbuffer which is not full if the acquisition stops by a trigger?.
    Start by looking around the examples that ship with LabVIEW (if you are
    using LabVIEW).
    Also look around zone.ni.com for general data acquisition information &
    examples. A good site.
    Mark

  • Hi at the moment my ipod is on manual sync mode. Is there any way of changing this to auto-sync without losing the music on my ipod or library? Possibly more importantly is there a way I can transfer the ratings from my ipod onto my i-tunes?

    Hi at the moment my ipod is on manual sync mode. Is there any way of changing this to auto-sync without losing the music on my ipod or library? Possibly more importantly is there a way I can transfer the ratings from my ipod onto my i-tunes?
    This is so I can delete music from my ipod knowing its rated on my i-tunes so I can then see later if I want to re-add it based on its rating
    Thanks

    Is there any way of changing this to auto-sync without losing the music on my ipod or library?
    Unfortunately there is not.
    Possibly more importantly is there a way I can transfer the ratings from my ipod onto my i-tunes?
    Not without the help of third party software such as this one:
    http://www.copytrans.net/copytrans.php
    B-rock

  • Is there any way to turn off the auto formatting in Pages?  I just want to type a letter and add pictures and titles, and Pages keeps changing font sizes and doesn't let me "Do it my way".  I HATE this!

    Is there any way to turn off the auto formatting in Pages?  I'm using a blank document, so I figured I could write my letter and add pictures any way I wanted to.  But NO!  Pages keeps changing the font size!  I typed a large heading as a title, and when I try to change to a smaller font for the body of the letter, it changes the size back to the larger size!  I am getting SO FRUSTRATED!  I've spent over an hour trying to get the stupid program to let me just type my letter!  Can anyone help?

    The only one left is the "unsubmitted text" dialogue, which would not be a problem if I were not a Facebook user; after updating the "Richard is..." field (which does not require a manual submit to actually send) I get the above message. This is obviously Safari just not realising that the info has been sent and is therefore (I imagine) one for Apple themselves to answer!!
    You're welcome Rich. Glad to help.
    Not being a Facebook User, I'm not sure how to respond to the error situation. However, this would be something to report to Apple as a bug via the Safari Menu. First, open to the page in question, then select "Report Bugs to Apple".
    Mahalo for the and Aloha from Big Island.

  • Is there a way to auto shrink all the tesxt in all my slides in keynote instead of doing them individually?

    i have my lecturer slides put there are all just a little bit too big, is there a way to auto size all the slides or do i have to do them individually?

    yes,I imported different times the same iphoto libraryon one external hard drive.
    I use to take One to One classes at the Apple Store. Each time i asked a teacher how to back up my i-photolibrary on a external hard drive they gave me a diferent way to do it, each teacher thought he could do better than the other... As this classes is only one hour long, I had to start all over again with the next teacher on the following session...
    So know they are diferent version of he same library mixed up together and i am trying to clean up all this. It just take to much space on my disc and it is all confusing . Voila, that's the story!
    What is the difenrence btw alias and duplicate ?

Maybe you are looking for

  • Connect to iTunes with iOS7 for "Push" notifications

    Since updating to iOS7, every time I start Gmail and other programs I get this type error message. I cannot find iTunes on the phone and I also there is no selection for "push" for Gmail, only "Fetch"and manual. Any ideas?

  • Receiver service ??? cannot be converted into an ALE logical system

    Hi, I am hoping for some help with an Idoc issue in XI version 3.0.  The scenario is like this: Flat file->File adapter->XI->Idoc adapter->R/3 I have configured a scenario in one system like this that works fine.  But in the current system I am getti

  • IDM 6 - Websphere datasource to Oracle

    Is there anyone usuing IDM 6 on Websphere app server and through datasource to connect Oracle database? If you do and IDM runs not problem, could you please share your webspher version, oracle version with me. I got issue connect to oracle when xml s

  • NullPointerException - importing my own class to JSP

    Hi. I'm writing a JSP page. I also made a class in WEB-INF/classes/org/MyXml.class. When I try to run this class from console, there is no problems at all. But if i try to use function from that class in JSP, i get this (the same error i get whicheve

  • Exported movies have sound but no picture

    Anyone else having this issue? After exporting a movie, there is sound but no picture, just a black screen... David