VIM编辑器中如何快速在一行中定位
来源:互联网 发布:手机透镜桌面软件 编辑:程序博客网 时间:2024/04/30 14:05
- You can use
$
,0
, and^
to move to line endpoints and then usew
andb
. Also, adding a numeric argument tow
andb
can accelerate the process, so using6w
instead of justw
can put you about to where ou need to be. - Using
f
andt
to move to individual characters will help also. (I use this typically with punctuation. If, for example, I have four sentences on one long line2f.
will go to the end of the second sentence) - Using the
(
and)
keys are an alternative way to navigate entire sentences. - Splitting out long lines into multiple lines (manually, or with
set tw=72
[or 80]) can make editing them simpler. You can always join them later withJ
. - Something I just discovered, you can move up and down one displayed line by using
gj
andgk
. That way, you can treat your one wrapped line as multiple lines
0 0
- VIM编辑器中如何快速在一行中定位
- 如何在Windows编程中快速定位BUG
- 如何在大多数文字编辑器中(包括word和一些程序编辑器中)不要使用鼠标(即用快捷键)复制上一行到下一行
- 在VIM/Emacs编辑器中使用终端
- 在Vim编辑器中执行Shell命令
- Linux 在vim编辑器中显示行号
- vim中快速的定位函数或者类定义
- linux中vim如何快速搜索
- 分散在不同文件夹中的.h文件如何在VC2010中得到快速定位并打开?
- 在Linux的Vim编辑器中,如何使用非贪婪匹配模式查找
- 解决Linux系统中在用vim编辑器时如何关闭嘟嘟的报警响铃声
- PCB设计技巧:如何在PCB文件中快速定位元器件
- 如何在vs2008,vs2010的解决方案管理器中快速定位文件位置
- Linux中vim编辑器
- linux 中vim编辑器
- Linux中vim编辑器
- 在linux中vim编辑器中添加行号
- vim中,在插入模式,迅速让光标跳入下一行(生成新一行)
- CCF-炉石传说
- 修改input file的样式(或用按钮button替代file)
- 自定义ListView和GridView
- Activity无动画跳转
- 05Bean的属性相关内容
- VIM编辑器中如何快速在一行中定位
- spark-源码-Master与Worker的启动
- unity day 1
- xdoj-1003
- 447. Number of Boomerangs
- 使用Hexo搭建个人博客(一)
- 数据库表命名规范
- 第二课(MySQL基础知识)
- CCF-交通规划