Re: First line starting with space affects cursor position when switching buffers

2018-06-04 Thread Bram Moolenaar
Andy Wokula wrote: > >> Am 01.06.2018 um 08:25 schrieb dmcco...@comcast.net: > >>> Hello, > >>> > >>> I have encountered what appears to be a bug in vim, > >>> but it might be a feature that I would like to disable. > >>> > >>> To reproduce the problem: > >>> > >>> Use vim to create a new file,

Re: First line starting with space affects cursor position when switching buffers

2018-06-04 Thread 'Andy Wokula' via vim_use
Am 02.06.2018 um 09:29 schrieb Bram Moolenaar: Andy Wokula wrote: Am 01.06.2018 um 08:25 schrieb dmcco...@comcast.net: Hello, I have encountered what appears to be a bug in vim, but it might be a feature that I would like to disable. To reproduce the problem: Use vim to create a new file,

Re: First line starting with space affects cursor position when switching buffers

2018-06-03 Thread Tony Mechelynck
On Mon, Jun 4, 2018 at 2:50 AM, dmcco...@comcast.net wrote: > On Saturday, 2 June 2018 02:29:42 UTC-5, Bram Moolenaar wrote: >> Andy Wokula wrote: >> >> > Am 01.06.2018 um 08:25 schrieb dmcco...@comcast.net: >> > > Hello, >> > > >> > > I have encountered what appears to be a bug in vim, >> > >

Re: First line starting with space affects cursor position when switching buffers

2018-06-03 Thread dmcco...@comcast.net
On Saturday, 2 June 2018 02:29:42 UTC-5, Bram Moolenaar wrote: > Andy Wokula wrote: > > > Am 01.06.2018 um 08:25 schrieb dmcco...@comcast.net: > > > Hello, > > > > > > I have encountered what appears to be a bug in vim, > > > but it might be a feature that I would like to disable. > > > > > > To

Re: First line starting with space affects cursor position when switching buffers

2018-06-02 Thread Bram Moolenaar
Andy Wokula wrote: > Am 01.06.2018 um 08:25 schrieb dmcco...@comcast.net: > > Hello, > > > > I have encountered what appears to be a bug in vim, > > but it might be a feature that I would like to disable. > > > > To reproduce the problem: > > > > Use vim to create a new file, and add 10 or so

Re: First line starting with space affects cursor position when switching buffers

2018-06-01 Thread dmcco...@comcast.net
On Friday, 1 June 2018 12:22:05 UTC-5, Andy Wokula wrote: > Am 01.06.2018 um 08:25 schrieb dmcco...@comcast.net: > > Hello, > > > > I have encountered what appears to be a bug in vim, > > but it might be a feature that I would like to disable. > > > > To reproduce the problem: > > > > Use vim to

Re: First line starting with space affects cursor position when switching buffers

2018-06-01 Thread 'Andy Wokula' via vim_use
Am 01.06.2018 um 08:25 schrieb dmcco...@comcast.net: Hello, I have encountered what appears to be a bug in vim, but it might be a feature that I would like to disable. To reproduce the problem: Use vim to create a new file, and add 10 or so lines of text to the file. In the first line, put at

Re: First line starting with space affects cursor position when switching buffers

2018-06-01 Thread Chr. von Stuckrad
On Thu, 31 May 2018, dmcco...@comcast.net wrote: > Save the file (:w) and switch (:e) to view another file. > Switch back (:e) to the original file. > Notice that the cursor is on the first line, not where it was originally. This is original default behaviour - open file, stand at first char.

Re: First line starting with space affects cursor position when switching buffers

2018-06-01 Thread Erik Christiansen
On 31.05.18 23:25, dmcco...@comcast.net wrote: > Place the cursor on the last line (or any line other than the first line). > Save the file (:w) and switch (:e) to view another file. > Switch back (:e) to the original file. > Notice that the cursor is on the first line, not where it was

First line starting with space affects cursor position when switching buffers

2018-06-01 Thread dmcco...@comcast.net
Hello, I have encountered what appears to be a bug in vim, but it might be a feature that I would like to disable. To reproduce the problem: Use vim to create a new file, and add 10 or so lines of text to the file. In the first line, put at least two characters, and make sure the first