Tuesday, April 14, 2020

Re: removing past start position

On Di, 14 Apr 2020, Tavis Ormandy wrote:

> Hello, I don't like the way that CTRL-W stops at the position you
> entered insert mode.
>
> For example, you can reproduce the behavior I'm talking about like this:
>
> * In normal mode, position the cursor at the end of a word, then enter
> insert mode.
> * Type some letters to make the word longer, then CTRL-W.
> * You should see that the word is only removed up until the position
> you entered insert mode.
>
> I would like the word removed until the previous word boundary.
>
> Is there any way to configure that?

Sounds like you have started vim in compatible mode. :set nocp should
fix it, but that enables a bunch of other options as well, so more
specifically, use :set bs=2

Best,
Christian
--
Wenn es Silvester stürmt und schneit, ist das neue Jahr nicht weit.

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20200414163950.GM25035%40256bit.org.

No comments: