开发者

Ctl-Del Like in Vim

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜