[SOLVED] set columns in vim does not work

I would like to set the window size of my vim to 95 when working with markdown files, so put
set columns=95
into an autosourced file when opening Markdown files. Unfortunately this has no effect and when I look at
set columns?
the window size is still 179 characters long.
When I try to do
set columns=95
with vim already open, vim very shortly resizes the text/window, but after a second return to the original size which is 179 character (screen width)
I tried ot figure out if it is a problem of my .vimrc by temporaliy working with a new empty .vimrc but the problem remains the same. I tried it out in another terminal emulator, but the problem remains the same. I tried it out logged in as root user before starting the XServer and here it worked as expected. So my gues is it has to do or with a X setting or with my window manager or with my shell.
I am using i3, urxvt and zsh in the context where it didn't work and the Arch install default setting in the context where it works. Still I have no clue what causes the problem.
Last edited by cutuchiqueno (2013-12-05 12:18:36)

x33a wrote:I believe you'll need to float urxvt in i3 to do that.
Thanks, I haven't thought of that possibility and it works. Although what I wanted to achieve is not possible with this solution though I found the Vimroom plugin which did the job, so thanks again.

Similar Messages

  • Column's headerWordWrap does not work

    Hi,
    I have a advanced datagrid that has serveral advanced datagrid columns. If the column header text long enough for it to not fit the column width, i want it to be word wrapped so that it can display the header text in two lines.
    setting the headerwordwrap=true does not work. And i tried the same thing with simple datagrid and simple datagrid column replacing advanced datagrid.
    It still would not work. Not sure what are the conditions for it to work.
    Any help is appreciated.
    Kind Regards.

    Hi lakshdn,
    Try this ...
    <mx:AdvancedDataGridColumn dataField="Artist">
                 <mx:headerRenderer>
                  <mx:Component>
                   <mx:Text width="100" selectable="false" text="Lorem Ipsum Text blah blah blah..Lorem Ipsum Text blah blah blah..Lorem Ipsum Text blah blah blah.." />
                  </mx:Component>
                 </mx:headerRenderer>
                </mx:AdvancedDataGridColumn>
    Thanks,
    Bhasker

  • Get/Set-NetQosPolicy with GPOs does not work

    Hi,
       I am trying to set the QoS policy in a GPO via P$; I am using the latest patched 2012R2 Windows P$. I have noticed that when you run the command and use the
    switch -PolicyStore GPO:DOMAIN\GPONAME the command does not work. Bug ??
       If you type an incorrect/non-existant GPONAME the command returns an error correctly saying:
    PS C:\> Get-NetQosPolicy -PolicyStore GPO:DOMAIN\GPONAME
    Get-NetQosPolicy : Group policy object not found on domain controller.
       If however you enter an existing GPONAME, the command simply returns without giving any error or output (regardless of
    whether or not the GPO has a policy in it).
       Further, if you try and set/new a policy in a GPO the command returns a very odd error:
    PS C:\> new-netQoSPolicy -Name "TestPolicy" -IPProtocolMatchCondition TCP -DSCPValue 24 -Port 5067 -PolicyStore GPO:DOMAIN\GPONAME
    new-netQoSPolicy : The system cannot find the file specified.
    Any Ideas ? I know I can use the Set-GPPrefRegistryValue or Set-GPRegistryValue; but I was looking for a neater way of doing this.

    >     If however you enter an existing GPONAME, the command simply returns
    > without giving any error or output (regardless of whether or not the GPO
    > has a policy in it).
    Try " | get-member" to see if it returns anything...
    > PS C:\> new-netQoSPolicy -Name "TestPolicy" -IPProtocolMatchCondition TCP -DSCPValue 24 -Port 5067 -PolicyStore GPO:DOMAIN\GPONAME
    > new-netQoSPolicy : The system cannot find the file specified.
    Suppose that's ok - this cmdlet creates a QoS policy, but possibly is
    not able to create the GPO that contains this QoS policy. So use new-gpo
    in advance :)
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • The troubleshooting options for setting firefox as default does not work

    When I go to my Home-Welsome to Century Link-Mozilla Firefox; a tab comes up saying "setting firefox as the default browser does not work". I tried all the various troubleshooting options. They did not work.

    Hello,
    Did you pass the parameters: IS_LAYOUT & I_SAVE to the ALV function module?
      FP_ST_LAYOUT-ZEBRA = C_X.
      FP_ST_LAYOUT-COLWIDTH_OPTIMIZE = C_X.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM       = SY-REPID
          IS_LAYOUT                = FP_ST_LAYOUT
          IT_FIELDCAT              = FP_IT_FIELDCAT
          I_SAVE                   = 'A'
        TABLES
          T_OUTTAB                 = FP_IT_OUTPUT
        EXCEPTIONS
          PROGRAM_ERROR            = 1
          OTHERS                   = 2.
      IF SY-SUBRC <> 0.
    *   Error in calling Standard ALV Functional Module
        MESSAGE I019. "Error Occured in ALV Function Module
        LEAVE LIST-PROCESSING.
      ENDIF.
    Hope this helps.
    BR,
    Suhas

  • Command to set firefox as default does not work

    After setting chrome as my default browser, I want to set Firefox as my default browser from the command line on windows.
    According to http://kb.mozillazine.org/Default_browser I ran
    firefox.exe -silent -setDefaultBrowser
    But that does not work. Chrome stays as the default browser. Setting FF as the default from the FF dialog (asking to set as default) works but I want to do it from the commandline.

    We have a support article on that: [[Make Firefox the default browser on Android]]. When trying to determine the current default browser app, I think Samsung's is called "Internet".

  • SP2010 Designer workflow "Set Content Approval Status" does not work

    Hello
    I'm having a problem with a workflow for one of my clients.It is a SharePoint 2010 environment and I can only use SharePoint 2010 designer (no visual studio).
    We have an approval workflow in place, which works great. After the document approval workflow has does its thing, a new workflow can be launged by specific users (they have writing rights and can approve content). The workflow is used to set the release
    date of the document. This can only be determined after content approval.
    However, when the release date is set, the document approval status is changed to concept. This is of course to be expected, as we changed to document metadata. That is why I wanted to add the action "Set content approval" to this workflow. I cannot
    seem to get this action to work. Right now the workflow does the following:
    check out the document (check out is obligatory in our library)
    set the release date field to the released date parameter (defined when starting the workflow)
    check in the document
    set content approval to approved.
    The release date gets set to the parameter value, but the document is not checked in and the content approval status is not set. SharePoint produces the following error message (translated from Dutch): "An error occured. Cannot edit the item, possibly
    because one or more columns require another type of content. Unknown error."
    Guided by other posts online I gathered that this might be because the actions checkin and set content approval occur to close together. I tried letting the workflow pause for the duration of 1 minute after checking in, but this pauses the workflow indefinitely.
    I then tried 5 minutes (as this is the time standard set by SP2010 designer) but this also resulted in indefinite pausing.
    Posts online lead me to believe that I'm not the only suffering from this problem, but as of yet, I haven't been able to find a solution that works for me. Hopefully someone can help me.

    Hi,
    According to your post, my understanding is that the "Set Content Approval Status" didn’t work in SharePoint 2010 Designer workflow.
    I try to reproduce the issue and the result is the same as yours.
    If I only check out and check in the item, the workflow works well.
    However, once I set Content Approval Status after checking in the item, the workflow get error.
    As a workaround, I recommend to use two workflow to achieve what you want.
    First, create the first workflow, and allow the workflow to be manually started.
    Then, create the second workflow, and
    start the workflow automatically when an item is changed.
    When you start the first workflow, the document will be set value of the release date. And then the second workflow will be started automatically to set the content approval status.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • [SOLVED] Warcraft 3 (with Wine) does not work in Arch

    Okay. I played a lot Warcraft III The Frozen Throne with Wine in Ubuntu. When I started to use Arch, of course I wanted to continue playing.
    But, when I started the game for the first time it gets into main screen (with 800x600 resolution, it is default when you start the game for the first time, my xorg.conf supports it) but freezes after about 2 secs. And I have to kill X. But now it even does not start (it changes resolution from 1920x1200 to 800x600, but does not continue)! I'm using KDE4.1 - is this somehow related to nVidia driver bug (I'm using nVidia GeForce 8800 Ultra)?
    Arch 64bit KDE4.1
    Wine 1.1.3 (installed with this, but also tested this - same problem)
    WC3 patched 1.22 - installed MS Visual C 2005 Runtimes in order to get it work (see http://appdb.winehq.org/objectManager.p … n&iId=3126 )
    I'm running the game from NTFS partition.
    Edit: Tested with emulated desktop. Problem remains.
    Edit2: Solved problem with 32bit Arch. Works like a charm!
    Last edited by Exitium (2008-10-07 19:04:01)

    moljac024 wrote:If you're a hardcore gamer then I'll just advise you to keep Windows installed for your gaming needs. There's nothing wrong with dual-booting for that
    I have (nLited) WinXP for games. But WC3 works fine with Wine, that's why I want to play it with Linux. It's faster just click a shortcut without rebooting.
    Rokixz wrote:The best solution for Hardgamers is to buy a xbox360
    I don't prefer consoles. And FPS games (which I play most) are crap on consoles.
    Dheart wrote:Now that I think of...
    Let me guess: You are using hardware acceleration set to "Emulation" and Driver emulation with alsa.
    For some reason WarCraft III doesn't like those (Hardware acceleration in particular...) Set Hardware acceleration to Basic or Full and the game will launch...
    It's set to "Full". And as I said, game launches but freezes after a few secs. But music continues even if a screen is frozen.
    Last edited by Exitium (2008-09-06 10:49:29)

  • OS 4.5 Calendar set day of week does not work

    Hello,
    the following code does not set the day of the week in der calendar object:
    Calendar c = Calendar.getInstance();
    c.set(Calendar.DAY_OF_WEEK, 8);
    c.set(Calendar.HOUR_OF_DAY, 23);
    c.set(Calendar.MINUTE, 59)
    After call c.set(Calendar.DAY_OF_WEEK, 8); the date will be still the same. Is it a bug in the API? The hour of day and minute will set to 23 respective 59.
    This problem seems to be only in 4.5 . It doesnt work with my device (os 4.5.0.124) and with the simulator (os 4.5.0.44).
    With the os versions 4.7 and higher the above code works fine. 
    Someone an idea what's wrong?
    regards,
    Andreas

    Can anyone reproduce this error?

  • [SOLVED] xmonad on virtualbox guest does not work

    I'm trying to install xmonad on an arch guest in virtualbox.
    I'm referencing both the Beginner's Guide and the VirtualBox doc. The beginner's guide says to install X a different way and points the virtualbox guide, which doesn't mention X.
    So here's what I do:
    $ pacman -S xorg-server xorg-xinit xorg-utils xorg-server-utils virtualbox-archlinux-additions mesa
    $ modprobe -a vboxguest vboxsf vboxvideo
    Looking online, I get the impression that virtualbox-archlinux-additions includes a video driver, so I don't install one (not sure which driver would work anyways).
    After installing "xorg-twm xorg-xclock xterm dbus" startx works. However, when I exit, the output says something about pixman: 0.24.0 and complains
    (EE) Failed to load module "vesa" (module does not exist, 0)
    (EE) Failed to load module "fbdev" (module does not exist, 0)
    (EE) AIGLX error: vboxvideo does not export required DRI extension
    (EE) AIGLX: reverting to software rendering
    (EE) VirtualBox USB Tablet: failed to initialize for relative axes
    xinit: connection to X server lost
    There is no default ~/.xinitrc (it does not exist)
    I then install xmonad and xmonad-contrib. There is no default ~/.xmonad/xmonad.hs
    I then do
    $ cp /etc/skel/.xinitrc .
    Then I append "xmonad" (I also tried exec xmonad) and run "startx" and I get a black screen that hangs. I can't quit the environment, so I'm forced to close the virtual machine. Adding ~/.xmonad/xmonad.hs doesn't help either.
    Can someone tell me what's going on? Am I missing a video driver?
    Last edited by whotemp (2011-12-09 07:02:46)

    Hmm, so I now get:
    $ xmonad
    xmonad-i386-linux: user error (openDisplay)
    with
    $ cat ~/.xmonad/xmonad.hs
    import XMonad
    main = xmonad $ defaultConfig

  • Frame 9 solution for table column + side head does not work in Frame 10 and 11

    In Frame 9 structured (DITA) we could force Frame to record the actual widths of table columns in the DITA XML.  Frame 9 would respect the widths when opening the file.  This was particularly useful for forcing tables to be wide -- to go across the column and the side head -- and for the columns to never resize. 
    In Frame 9 this was done by commenting out the line
    "writer use proportional widths;" 
    like this
    "/* writer use proportional widths; */"
    in the topic.rules.text" file located in
    "...\FrameMaker9\Structure\xml\DITA\app\DITA-Topic-FM"
    This no longer works in Frame10 and Frame 11.  Even though the same line is commented out in all the "NAME.rules.txt" files in all the subdirectories of
        "...\AdobeFrameMaker11\Structure\xml\DITA_1.2\app"
    and
        "...\AdobeFrameMaker11\Structure\xml\DITA\app"  
    and
        "...\AdobeFrameMaker10\Structure\xml\DITA_1.2\app"
    and
        "...\AdobeFrameMaker10\Structure\xml\DITA\app"  .
    Commenting out the line does force Frame 10 and 11 to record  the absolute column width (2.357" etc.) in the DITA XML.
    However, on Open,  Frame 10 and 11 force the table to fit in the column, not the column and sidehead. That is they behave as though they were still using proportional column widths.  It seems the original values (as inserted by Frame 10 and 11 before closing!) are recalculated on Open, thereby mimicking the default proportional width behavior.  
    For example, this on Save then Close from Frame 10 or 11
    <table frame = "topbot" colsep = "0" rowsep = "1">
    <tgroup cols = "4" colsep = "0" rowsep = "1" outputclass = "FormatB">
    <colspec colnum = "1" colname = "1" colwidth = "1.796in" colsep = "0"/>
    <colspec colnum = "2" colname = "2" colwidth = "1.852in" colsep = "0"/>
    <colspec colnum = "3" colname = "3" colwidth = "1.179in" colsep = "0"/>
    <colspec colnum = "4" colname = "4" colwidth = "2.152in" colsep = "0"/>
    goes to this on Open then Save: 
    <table frame = "topbot" colsep = "0" rowsep = "1">
    <tgroup cols = "4" colsep = "0" rowsep = "1" outputclass = "FormatB">
    <colspec colnum = "1" colname = "1" colwidth = "1.351in" colsep = "0"/>
    <colspec colnum = "2" colname = "2" colwidth = "1.393in" colsep = "0"/>
    <colspec colnum = "3" colname = "3" colwidth = "0.887in" colsep = "0"/>
    <colspec colnum = "4" colname = "4" colwidth = "1.618in" colsep = "0"/>
    Any help at all would be appreciated!  
    We have 8,000 to 10,000 pages to PDF in the next few days and about 33% of those pages are messed up tables!
    Message was edited by: borealforest

    Hi...
    Unfortunately, I don't have any insight into the default DITA table handling in FM10 or FM11 .. so can't give you the answer you're looking for. Since both FM10 and FM11 offer ExtendScript, you could write a script (or have one written) that processes all of your files to reset the table widths. Or, perhaps the best short term solution may be to reinstall FM9 to get the job done, then spend more time later to figure out a better solution.
    One alternative would be for you to use DITA-FMx, which supports the table/@pgwide attribute for controlling which tables span the page and which don't. Since your tables probably don't make use of this attribute, it won't help in the near term, but might make sense going forward.
    Cheers,
    Scott Prentice
    Leximation, Inc.
    www.leximation.com

  • Events Click Set Property Fill Color does not work.

    Setting Stroke Color does work.  Setting Fill Color is accepted by the user interface, but nothing happens.  I was applying this to a Basic Circle Shape.
    Until this is fixed, my alternative is to define a "custom event".  I have assigned a name to a "custom event" but can find no way to define it's action.  Can anyone help me with this or point me to the documentation on this?
    Thanks.

    You also need to register the fields which you want F4 event to become active for.
    DATA: it_f4 TYPE lvc_t_f4,
            wa_f4 TYPE lvc_s_f4.
      wa_f4-fieldname = 'CONNID'.
      wa_f4-register = 'X'.
    *     wa_f4-GETBEFORE = 'X'.   "if you want to trigger before F4
    *      wa_f4-CHNGEAFTER = 'X'. "or just after it
      APPEND wa_f4 TO it_f4.
      CALL METHOD g_alv_grid_ref->register_f4_for_fields
        EXPORTING
          it_f4 = it_f4.
    Regards
    Marcin

  • CHROME is not compatible. Problem Solved: PayPal's new interface does not work with CHROME.

    I've been trying to withdraw funds for days on my Chrome browser.  I was about to throw my laptop out of the 3rd story window when I thought to try Firefox and it worked. I pray that someone in programming reads this.  Note to Developers:  PLEASE don't do major interface overhauls if your site is funcitonal. I have never seen a site get better after an upgrade. We don't care if PayPal looks hip. We want it to be a reliable tool for our businesses. 

    Yes... BUT there is large "Chrome" oriented large yellow note at the top of your accounts page that says ... this site uses Silverlight which will soon not be supported...  So if you are using Chrome what are you doing when they remove Silverlight support?  RSVP to my email on my account please. or... Post a note of yours that tells all of us what you recommend... go back to IE? 

  • [SOLVED] After qemu update: KVM does not work anymore

    Hi,
    I used to use qemu-kvm, as in
    qemu-kvm \
    -net nic,vlan=1 -net user,vlan=1 \
    -drive file=/home/flash-vm/hdd0,if=virtio,cache=writethrough \
    -vga std -vnc localhost:2 -usbdevice tablet \
    -m 1024
    However, now qemu-kvm has been removed. If I replace "qemu-kvm" with "qemu-system-x86_64" and try to run it with an extra argument  "-machine accel=kvm" or "-enable-kvm", what I get is
    Could not access KVM kernel module: Permission denied
    failed to initialize KVM: Permission denied
    The kernel modules are there:
    # lsmod | grep kvm
    kvm_intel 124064 0
    kvm 384721 1 kvm_intel
    and the processor is
    $ lscpu
    Architecture: x86_64
    CPU op-mode(s): 32-bit, 64-bit
    Byte Order: Little Endian
    CPU(s): 4
    On-line CPU(s) list: 0-3
    Thread(s) per core: 2
    Core(s) per socket: 2
    Socket(s): 1
    NUMA node(s): 1
    Vendor ID: GenuineIntel
    CPU family: 6
    Model: 37
    Stepping: 5
    CPU MHz: 1197.000
    BogoMIPS: 5321.24
    Virtualization: VT-x
    L1d cache: 32K
    L1i cache: 32K
    L2 cache: 256K
    L3 cache: 3072K
    NUMA node0 CPU(s): 0-3
    I have added my user to the group kvm as well, as instructed by pacman. Any help would be much appreciated!
    Last edited by ffcitatos (2013-03-07 06:47:06)

    Interestingly, mine worked without being in the new group. However, I think that's because I hadn't logged out since the update, so the session didn't know that I had been removed from the group. Though I could be missing something.

  • Default account setting in Outlook 2010 does not work when composing new messages?

    Hello,
    I am currently using Outlook 2010 (not beta). I have two accounts, a google imap account and a pop3 account.  I have designated my IMAP account as my default account.  As I understand it, this means that when I create a new email,
    it should default to being sent from my IMAP account.  However, whenever I create a new email, it defaults to the account which I am currently viewing in Outlook.  In other words, if I am currently viewing the pop3 inbox, when I compose an email,
    it will default send from that account.  Conversely, when I compose an email while viewing the IMAP inbox, it will default send from that account. 
    Any ideas as to what is going on?  This is rather frustrating because I only rarely send with my pop3 account--only when replying/forwarding email received with that account or other unique situations.  Is there a way to make Outlook be true to
    sending from the default account, without doing something drastic like disabling the secondary account?
    Thanks in advance.
    Rom

    Of course it's a bug.
    Computing Dictionary
    bug definition
    programming 
     An unwanted and unintended property of a program or piece ofhardware, especially one that causes it to malfunction.
    The behaviour itself may be considered a feature by Microsoft, though I disagree, but the fact that one thinks one is specifying a "default" account that is not then used as the default in all cases is clearly a bug.
    It is astonishing to me that in the plethora of options, advanced options and advanced advanced options there is not a checkbox to enable this new behaviour with the default being unchecked.
    Microsoft does it again.

  • [SOLVED] Mounting /tmp as tmpfs does not work?

    Hi,
    running arch since a few days now, and began a bit of tweaking.
    I read, mounting the /tmp dir as a tmpfs adding the following line to my /etc/fstab should slightly increase performance. (plus removing the old /tmp mount rule)
    none /tmp tmpfs nodev,nosuid,noatime,size=1000M,mode=1777 0 0
    I have conky running showing my ram usage. Shouldn't the numbers increase if I copy something to the /tmp directory? I copied a large file to the dir. but nothing happened to the ram usage.
    Thank you in advance, Peter
    Last edited by phoenigs (2010-09-05 19:08:20)

    Hi again,
    Here the outputs of the two commands:
    [peter@phlap|~]$ mount
    proc on /proc type proc (rw,relatime)
    sys on /sys type sysfs (rw,relatime)
    udev on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=493581,mode=755)
    /dev/disk/by-uuid/4afd9796-b899-47a8-a4e0-04d70209a635 on / type ext4 (rw,relatime,barrier=1,data=ordered)
    devpts on /dev/pts type devpts (rw)
    shm on /dev/shm type tmpfs (rw,nosuid,nodev)
    /dev/sda4 on /home type ext4 (rw)
    /dev/sda1 on /boot type ext2 (rw)
    none on /tmp type tmpfs (rw,nosuid,nodev,noatime,size=1000M,mode=1777)
    [peter@phlap|~]$ df -h
    Filesystem Size Used Avail Use% Mounted on
    udev 10M 208K 9.8M 3% /dev
    /dev/disk/by-uuid/4afd9796-b899-47a8-a4e0-04d70209a635
    39G 3.4G 34G 10% /
    shm 1.9G 2.1M 1.9G 1% /dev/shm
    /dev/sda4 104G 1.1G 98G 2% /home
    /dev/sda1 99M 16M 79M 17% /boot
    none 1000M 661M 340M 67% /tmp
    (I know the / partition is chosen a bit too large)
    But here is another output:
    [peter@phlap|tmp]$ free -m
    total used free shared buffers cached
    Mem: 3858 1965 1892 0 28 1605
    -/+ buffers/cache: 330 3527
    Swap: 4502 0 4502
    As you can see, the mounting works properly. I have copied a 600mb file to /tmp, and it still says 330mb free ram. Or does the tmpfs count as "cached"?
    I just want the "proof" that my /tmp directory is in the ram now
    Last edited by phoenigs (2010-09-04 22:54:13)

Maybe you are looking for

  • HCM P&F - Attachment section is NOT visible for the approver

    Hi Attachment possible in the process but after submission (with attachment), when approver opens the process, attachment section is not visible to them. We are using FPM forms. Appreciate your inputs. Thanks

  • What do you call an image that is 16:9 constrained by a 4:3 frame

    16:9, but it exists within a 4:3 aspect ratio.  It's a 16:9 aspet ratio, with its right and left edges cut off.  When you created the image this way, you had option to letterbox it.  Can this be described in a word (a convenient shothand like the wor

  • Directory browsing and multiple upload (not AIR)

    Hello everybody! Do somebody knows is it possible to select directory and upload all files from this directory to server (not AIR)? Thanx

  • New italk can't get a record option at all

    I just got a 20G 4th gen ipod (click wheel) and then bought the griffin Italk to record lectures with. I plugged in my italk and nothing appears to give me the opportunity to record. I have done 1. reset with italk plugged in 2. removed italk for 1 m

  • Connect iPhone to closed network

    I currently have my home wi-fi set up to allow only certain MAC addresses. Does the iPhone have a MAc address? If so, how do I find it? If not hopw do I allow access to my network? Thanks.