You are not logged in.
I would like to set the window size of my vim to 95 when working with markdown files, so put
set columns=95into 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=95with 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)
Offline
I believe you'll need to float urxvt in i3 to do that.
Offline
FYI "set colorcolumn=95" will be a good alternative.
This silver ladybug at line 28...
Offline
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.
Offline