Re: g@ seems to ignore user-defined motion maps

2014-07-11 Thread Brett Stahlman
On Friday, July 11, 2014 3:24:45 PM UTC-5, Brett Stahlman wrote: > On Friday, July 11, 2014 2:03:31 PM UTC-5, Christian Brabandt wrote: > > > Hi Brett! > > > > > > > > > > > > On Fr, 11 Jul 2014, Brett Stahlman wrote: > > > > > > > > > > > > > This is not what I see. Here's a test ca

Re: Problem with vimdiff and file name resolution

2014-07-11 Thread Bram Moolenaar
Gary Johnson wrote: > > > On one of the Linux machines on which I run Vim we run a backup > > > program which creates hourly and nightly backups of each user's home > > > directory in ~/.snapshot. The problem is that when I try to view > > > the differences between a file and its backup copy usi

Re: g@ seems to ignore user-defined motion maps

2014-07-11 Thread Brett Stahlman
On Friday, July 11, 2014 2:03:31 PM UTC-5, Christian Brabandt wrote: > Hi Brett! > > > > On Fr, 11 Jul 2014, Brett Stahlman wrote: > > > > > This is not what I see. Here's a test case consisting of the > > > map-operator example from the Vim help, along with a normal mode > > > remapping of

Re: g@ seems to ignore user-defined motion maps

2014-07-11 Thread Brett Stahlman
Ah. Of course! Makes perfect sense now. Thanks, Brett S. On Jul 11, 2014 2:03 PM, "Christian Brabandt" wrote: > Hi Brett! > > On Fr, 11 Jul 2014, Brett Stahlman wrote: > > > This is not what I see. Here's a test case consisting of the > > map-operator example from the Vim help, along with a norma

Re: g@ seems to ignore user-defined motion maps

2014-07-11 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On July 11, 2014 10:54:36 PM GMT+03:00, Brett Stahlman wrote: >On Friday, July 11, 2014 12:51:47 PM UTC-5, ZyX wrote: >> > Having thought about it a bit, it occurs to me that it would be >very difficult for Vim's g@ implementation to treat movement

Re: g@ seems to ignore user-defined motion maps

2014-07-11 Thread Christian Brabandt
Hi Brett! On Fr, 11 Jul 2014, Brett Stahlman wrote: > This is not what I see. Here's a test case consisting of the > map-operator example from the Vim help, along with a normal mode > remapping of $ to G. Hitting $ in normal mode now goes to the end of > the file, but hitting $ counts only the sp

Re: g@ seems to ignore user-defined motion maps

2014-07-11 Thread Brett Stahlman
On Friday, July 11, 2014 12:51:47 PM UTC-5, ZyX wrote: > > Having thought about it a bit, it occurs to me that it would be very > > difficult for Vim's g@ implementation to treat movements accomplished via > > user mappings the same as built-in {motion}s. Perhaps that's why only Vim > > {motion}

Re: g@ seems to ignore user-defined motion maps

2014-07-11 Thread ZyX
> Having thought about it a bit, it occurs to me that it would be very > difficult for Vim's g@ implementation to treat movements accomplished via > user mappings the same as built-in {motion}s. Perhaps that's why only Vim > {motion}s are considered? In the case of Paredit, Tamas has graciously

Re: g@ seems to ignore user-defined motion maps

2014-07-11 Thread Brett Stahlman
On Friday, July 11, 2014 7:18:39 AM UTC-5, Brett Stahlman wrote: > Hello, > I recently noticed that Paredit's `d{motion}' map doesn't behave the way > I would expect: in particular, although `)' in normal mode jumps > correctly to the end of the current S-expression, `d)' deletes beyond > the end o

Re: Problem with vimdiff and file name resolution

2014-07-11 Thread Gary Johnson
On 2014-07-11, Павлов Николай Александрович wrote: > On July 11, 2014 11:38:15 AM GMT+03:00, Erik Christiansen wrote: > >On 10.07.14 16:54, Gary Johnson wrote: > >> On the other hand, a file system such as we're using for backups > >> seems pretty unusual, and equal inode numbers over network file

g@ seems to ignore user-defined motion maps

2014-07-11 Thread Brett Stahlman
Hello, I recently noticed that Paredit's `d{motion}' map doesn't behave the way I would expect: in particular, although `)' in normal mode jumps correctly to the end of the current S-expression, `d)' deletes beyond the end of the S-exp. It seems as though perhaps the `)' motion reverts to its non-P

Re: Problem with vimdiff and file name resolution

2014-07-11 Thread Christian Brabandt
Am 2014-07-11 01:54, schrieb Gary Johnson: On the other hand, a file system such as we're using for backups seems pretty unusual, and equal inode numbers over network file systems is also pretty rare. Is this problem worth fixing? Would a patch even be considered? Or should I just resort to wo

Re: Problem with vimdiff and file name resolution

2014-07-11 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On July 11, 2014 11:38:15 AM GMT+03:00, Erik Christiansen wrote: >On 10.07.14 16:54, Gary Johnson wrote: >> On the other hand, a file system such as we're using for backups >> seems pretty unusual, and equal inode numbers over network file >> syste

Re: Problem with vimdiff and file name resolution

2014-07-11 Thread Erik Christiansen
On 10.07.14 16:54, Gary Johnson wrote: > On the other hand, a file system such as we're using for backups > seems pretty unusual, and equal inode numbers over network file > systems is also pretty rare. Is this problem worth fixing? Would a > patch even be considered? Or should I just resort to