C-\C-O moves cursor with 'formatoptions+=r'

2013-10-07 Fir de Conversatie Wiktor Ruben
Hello, I use Vim 7.4.052. Help says that C-\C-O is like CTRL-O but don't move the cursor, but: vim -u NONE :set nocp :set ruler :set ft=cpp :set formatoptions+=r Put the text below: }Left//fooCR You should have: //foo //|} where '|' indicates cursor position. Look at the ruler, the cursor

Re: C-\C-O moves cursor with 'formatoptions+=r'

2013-10-07 Fir de Conversatie Christian Brabandt
On Mon, October 7, 2013 12:31, Wiktor Ruben wrote: Hello, I use Vim 7.4.052. Help says that C-\C-O is like CTRL-O but don't move the cursor, but: vim -u NONE :set nocp :set ruler :set ft=cpp :set formatoptions+=r Put the text below: }Left//fooCR You should have: //foo //|}

Re: C-\C-O moves cursor with 'formatoptions+=r'

2013-10-07 Fir de Conversatie Bram Moolenaar
Wiktor Ruben wrote: I use Vim 7.4.052. Help says that C-\C-O is like CTRL-O but don't move the cursor, but: vim -u NONE :set nocp :set ruler :set ft=cpp :set formatoptions+=r Put the text below: }Left//fooCR You should have: //foo //|} where '|' indicates cursor