开发者

Ctl-Del Like in Vim

开发者 https://www.devze.com 2023-01-25 06:46 出处:网络
I really like the CTRL-W key in Vim insert mode, but I also need something like CTRL-Del in normal editing. 开发者_运维技巧Any idea if this exist, or how to implement it?

I really like the CTRL-W key in Vim insert mode, but I also need something like CTRL-Del in normal editing. 开发者_运维技巧Any idea if this exist, or how to implement it?

Also, how about a similar thing for CTRL-H?! I mean something exactly like Del key, but as easy as CTRL-H.


dW in normal mode is the closest to CTRL+Del behaviour.

If you really want something like Delete in Insert mode, why not just make a mapping for it?

:inoremap <C-J> <C-O>x


<c-o>dw will mess in "stuf<cursor>f secondword" and in "stuff<cursor> secondword".

I use <space><esc>ce which works well.

0

精彩评论

暂无评论...
验证码 换一张
取 消