Wednesday, October 5, 2016

Re: Vim 8 in edit mode constrains editing and cursor motion - how to disable?

On Wednesday, October 5, 2016 at 9:29:57 AM UTC-5, Ivan Vecerina wrote:
> Hi,
> Since I upgraded to Vim 8, I am confronted with a new behavior that I find annoying:
>
> According to how I enter insert mode, I am restricted in terms of what I can edit.
> For instance, if I want to remove the last character of a line, I would type:
> A <backspace> <Esc>
> But now, after I enter edit mode with A, I am only able to append text to the end of the line.
>
> How can I disable this constraining of the editable range in insert mode?
>
> Thanks,
> Ivan

Add "set backspace+=start", or an equivalent command, to your .vimrc to enable the behavior you want.

I'm not sure why the version 8 upgrade would have caused this for you. The main change, of adding a set of defaults that get automatically sourced, should *include* this option, not remove it. Perhaps your configuration is setting the 'compatible' option somewhere? If you're interested in tracking it down, you can use the command ":verbose set backspace?" to see which script file last set the option.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment