在 Vim/Vi 中,如何将光标移动到上一个单词的末尾? [英] In Vim/Vi, how do you move the cursor to the end of the previous word?

查看:18
本文介绍了在 Vim/Vi 中,如何将光标移动到上一个单词的末尾?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Vim 的正常模式下:

In Vim's normal mode:

  • e 转到下一个单词的末尾
  • w 转到下一个单词的开头
  • b 转到前一个单词的开头
  • e goes to the end of the next word
  • w goes to the beginning of the next word
  • b goes to the beginning of the previous word

如何将光标移动到上一个单词的end?

How do you move the cursor to the end of the previous word?

推荐答案

不幸的是,这不是一个单一的键...但 ge 正是您要找的,我想.

Unfortunately it's not a single key... but ge is what you're looking for, I think.

这篇关于在 Vim/Vi 中,如何将光标移动到上一个单词的末尾?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆