Thursday, January 7, 2021

Re: removing past start position

> Having said all that, I have been thinking, whether a clever mapping
> could not already achieve what is desired. Something like this perhaps:
>
> inoremap <c-w> <left><c-o>v<c-left><del>

Here's the mapping I've been using:

inoremap <C-w> <C-\><C-o><ESC><C-w>

The advantage of this is that it doesn't create a new undo block.

--
--
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/4bd16970-a283-47f3-ac24-0606806d6a02n%40googlegroups.com.

No comments:

Post a Comment