Re: breakindent, take 2

2007-05-30 Thread Václav Šmilauer
What do you think? I prefer (c) from implementation, efficiency and intuitivity perspective. I agree. Strongly. Based on popular demand, this patch implements, in addition, 'breakindentshift' (brishift). It seems to work well, report problems. And please suggestions for some shorter names: b

Re: breakindent, take 2

2007-05-29 Thread Václav Šmilauer
Would there be any benefit from making it a string option that accepted numbers only, so there could be three styles? breakindent=nabsolute positioning or broken lines breakindent=+n broken lines have additional indentation breakindent=-n broken lines have reduced indentation I am a bit

Re: breakindent, take 2

2007-05-29 Thread Václav Šmilauer
It would be nice if I could specificy additional indent for continuation lines. You make indent for continuation line *EQUAL* to indent of the 1st screen line. I use showbreak for this. Wouldn't breakindent=2 just duplicate the funcitonality of ':set breakindent' and ':set showbreak=\ \ ' (exc

Re: breakindent, take 2

2007-05-27 Thread Václav Šmilauer
Oh, maybe one day I will learn to issue svn diff in the right directory. Previous patch contained just src, sorry. V. Index: runtime/doc/eval.txt === --- runtime/doc/eval.txt (revision 296) +++ runtime/doc/eval.txt (working copy) @@ -

Re: breakindent, take 2

2007-05-27 Thread Václav Šmilauer
* BUG: there is some weird interaction with quickfix window, where very rarely there is the "ml_get(): invalid line number" error. I think it is caused by passing wrong line number thgouth the *chartabsize* & family routines (line in the main buffer interpreted as line in the quickfix window or

Re: breakindent, take 2

2007-05-14 Thread Václav Šmilauer
Now the patch... sorry. Index: runtime/doc/eval.txt === --- runtime/doc/eval.txt (revision 288) +++ runtime/doc/eval.txt (working copy) @@ -5262,8 +5262,8 @@ keymap Compiled with 'keymap' support. langmap Compiled with 'langmap'

breakindent, take 2

2007-05-14 Thread Václav Šmilauer
20 in the code. If the rest is considered ready for inclusion, I will add a user-serrable variable for that. The patch is against current svn (vim7, rev. 288). Any comments are welcome. Best regards, Václav Šmilauer

Re: bug: commandline not visible after :tabedit in maximized window

2007-02-11 Thread Václav Šmilauer
[Bram, sorry for sending to your personal address by accident for the first time] > What system? If Unix: what GUI? Sorry for not mentioning that. I am running the gnome GUI on Linux. I double-checked on a different machine to exclude the influence of the breakindent patch that is also applie

bug: commandline not visible after :tabedit in maximized window

2007-02-11 Thread Václav Šmilauer
Hello, I use gvim 7.0 patched 1-164. When doing :tabedit in a single tab buffer, tabs on the top appear and the window is resized so that text area is the same. However, when the window cannot be grown vertically (which is the case for (vertically) maximized window or fullscreen), vim still ke