Re: Gvim on Windows doesn't remember its position and size

2011-11-02 Thread Ben Fritz
On Oct 31, 6:33 am, Walt Elam wrote: > 2011/10/31 Дмитрий Франк > > > Gvim on Windows doesn't remember its position and size. > > > I have two monitors, and Gvim always starts in the primary monitor and > > non-maximized. I have to everytime move it to another monitor and maximize. > > Other Wi

Happy birthday Vim

2011-11-02 Thread Thilo Six
Hello Bram, hello Vimmers, just read: Vim's 20th anniversary http://lcorg.blogspot.com/2011/11/two-decades-of-productivity-vims-20th.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+LinuxcommandorgTipsNewsAndRants+%28LinuxCommand.org%3A+Tips%2C+News+And+Rants%29 Congratulations! I

Problem with "it" and "at" text objects on nested elements with similar names

2011-11-02 Thread zrth
Hello, If I use "vat" with the cursor on it selects the "root" element instead of "list". The same goes for "it". It selects the contents of "root" and not the contents of "list" (as expected). I guess the problem is that the parent element's name is a substring of the child's name.

Re: Problem with "it" and "at" text objects on nested elements with similar names

2011-11-02 Thread James McCoy
On Wed, Nov 2, 2011 at 2:32 PM, zrth wrote: > Hello, > > If I use "vat" with the cursor on it selects the "root" element > instead of "list". The same goes for "it". > It selects the contents of "root" and not the contents of "list" (as > expected). I guess the problem is that the parent element'

Re: Problem with "it" and "at" text objects on nested elements with similar names

2011-11-02 Thread Tony Mechelynck
On 02/11/11 20:12, James McCoy wrote: On Wed, Nov 2, 2011 at 2:32 PM, zrth wrote: Hello, If I use "vat" with the cursor on it selects the "root" element instead of "list". The same goes for "it". It selects the contents of "root" and not the contents of "list" (as expected). I guess the probl

Re: Problem with "it" and "at" text objects on nested elements with similar names

2011-11-02 Thread James McCoy
On Wed, Nov 2, 2011 at 4:33 PM, Tony Mechelynck wrote: > On 02/11/11 20:12, James McCoy wrote: >> >> On Wed, Nov 2, 2011 at 2:32 PM, zrth  wrote: >>> >>> Hello, >>> >>> If I use "vat" with the cursor on  it selects the "root" element >>> instead of "list". The same goes for "it". >>> It selects th

Re: Problem with "it" and "at" text objects on nested elements with similar names

2011-11-02 Thread Tony Mechelynck
On 02/11/11 21:43, James McCoy wrote: On Wed, Nov 2, 2011 at 4:33 PM, Tony Mechelynck wrote: On 02/11/11 20:12, James McCoy wrote: On Wed, Nov 2, 2011 at 2:32 PM, zrthwrote: Hello, If I use "vat" with the cursor onit selects the "root" element instead of "list". The same goes for

[patch] Correctly handle URXVT mouse in set/del_mouse_termcode

2011-11-02 Thread James McCoy
Since the urxvt mouse handling was added, certain actions in Vim would cause the mouse to get disabled even all the setting still indicated it should be enabled. When running Vim in xterm, check_mouse_termcode() calls set_mouse_termcode(KS_MOUSE, ...) to enable xterm handling as well as del_mouse_

Re: Gvim on Windows doesn't remember its position and size

2011-11-02 Thread Дмитрий Франк
> :winpos "Set the x,y position of > the gVim Window when gVim starts > :set lines= "Set the number > of rows that the gVim window has > :set columns="Set the number of > columns that the gVim window has > i trie

Re: bufnr("") fails (always return -1)

2011-11-02 Thread Дмитрий Франк
ok, thanks 1 ноября 2011 г. 21:22 пользователь Christian Brabandt написал: > On Mon, October 31, 2011 8:16 pm, Дмитрий Франк wrote: > > when executing autocommands, bufnr('') always return -1, > > bufname('') returns empty, but expand('') works. > > > > Ugly workaround is to use bufnr(expand(''))