For python code, indenting selected lines with '' key does not shift commented
line, if it has initially zero indent.
Can be reproduced only with smartindent setting on. Version 7.4.52, Ubuntu.
Example:
print a
#print a
after selecting and shifting with '' key:
print a
# print a
Regards,
Very often I use mouse in gvim when I select text for copying/pasting/deleting,
so my right hand is on the mouse or tablet (which I also use extensively) and
left hand is on the keyboard. Now to scroll through a file I always click or
drag the scrollbar area. So I've just thought out a way how
Guten Tag Christian,
I have managed to compile with this patch under windows with msvs Express 2008.
New feature works exactly how I expected. Thank you very much for the effort.
I must say however after playing with it for a while I discovered some
artefacts are appearing along the text
small followup. Just noticed that moving cursor around wrapped line is totally
buggy now. I Didn't see that earlier since I keep wrapping off all the time,
just turned it on now to check... So... this all needs a bit more effort I
suppose :)
Mikhail
--
--
You received this message from
I see, you want that the normal text starts 1 additional column after
the line numbering. I don't think this is possible (not even with the
workarounds mentioned so far). Sorry.
Here is a simple patch, that adds the 'numbershift' option by which you
can specify how much to
enough in my intention. Thanks in advance for your comments
and special thanks to developers for such a great text editor!
Mikhail V
--
--
You received this message from the vim_dev maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http
Hallo Christian,
thanks for reply. So I wrote in first paragraph about not being able to attach
screenshots. I have placed them now on my student homepage , so you can check
out.
http://public.beuth-hochschule.de/~s53452/index.htm
So yes there are few workarounds and I don't say its really
Then the OP could set a huge numberwidth but make it left-aligned, which
would put a big gap between the digits and the text.
-Manny
I am sorry, but how do you make the numbers left-aligned? I don't find an
option for that.
--
--
You received this message from the vim_dev maillist.
just a small update, I have found another discussion of this issue from even
earlier date:
http://stackoverflow.com/questions/2531904/how-do-i-increase-the-spacing-of-the-line-number-margin-in-vim
And it was also highly voted, since it really causes problems with code
readability. Just in case,