在 VIM 中浏览自动换行文本时,如何使选择器移动到换行部分? [英] When navigating through word-wrapped text in VIM, how to make the selector move onto wrapped line sections?

查看:22
本文介绍了在 VIM 中浏览自动换行文本时,如何使选择器移动到换行部分?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要的行为是大多数文本编辑器和办公应用程序(不是为程序员设计的)中的行为.这样可以更快地到达大段落的中心.

The behaviour I want is the behaviour in most text editors and office applications (that aren't designed with programmers in mind). This makes it quicker to get to the centre of large paragraphs.

谢谢.

推荐答案

我不确定我是否理解你的问题,但试试命令 gjgk,而不是 jk.我认为他们做你想做的.我已经制作了一个截屏视频,其中包含一些关于使用软包装" 文本(我猜这与自动换行"文本相同).

I'm not certain that I understand your question, but try the commands gj and gk, instead of j and k. I think they do what you want. I've put together a screencast with a few tips for working with 'soft wrapped' text (which I guess is the same as 'word-wrapped' text).

这篇关于在 VIM 中浏览自动换行文本时,如何使选择器移动到换行部分?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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