博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
vim - mark
阅读量:4598 次
发布时间:2019-06-09

本文共 931 字,大约阅读时间需要 3 分钟。

Using marks

http://vim.wikia.com/wiki/Using_marks
1. There is no visible indication of where marks are set.
2. Each file has a set of marks identified by lowercase letters (a-z).
3. In addition there is a global set of marks identified by uppercase letters (A-Z) that identify a position within a particular file.
For example, you may be editing ten files. Each file could have mark a, but only one file can have mark A.

4. Set mark

ma: set mark a at current cursor location

5. Jump to mark

'a: jump to line of mark a (first non-blank character in line)
`a: jump to position (line and column) of mark a

6. Delete line as per mark

d'a: delete from current line to line of mark a

7. List marks

:marks: list all the current marks
:marks aB: list marks a, B

8. Delete marks

:delmarks a
:delmarks a-d
:delmarks aA
:delmarks! -> delete all lowercase marks for the current buffer (a-z)

转载于:https://www.cnblogs.com/cnblogist/p/6126402.html

你可能感兴趣的文章
%s的用法
查看>>
调用底层不能直接访问的类和方法
查看>>
清理缓存的方法 #DF
查看>>
JAVA array,map 转 json 字符串
查看>>
2017-12-27练习
查看>>
NET设计规范(二) 命名规范
查看>>
VMware 9.0.1安装Mac OS X Mountain Lion 10.8.2
查看>>
SSL延迟
查看>>
android新手关于左右滑动的问题,布局把<android.support.v4.view.ViewPager/><ImageView/> 放在上面就不行了。...
查看>>
深入理解DIP、IoC、DI以及IoC容器
查看>>
赋值文件
查看>>
Vue 数组 字典 template v-for 的使用
查看>>
蓝牙模块选择经验谈
查看>>
java中==和equals
查看>>
CCActionPageTurn3D
查看>>
python random
查看>>
esp32-智能语音-cli(调试交互命令)
查看>>
netty与MQ使用心得
查看>>
关于dl dt dd 文字过长换行在移动端显示对齐的探讨总结
查看>>
swoolefy PHP的异步、并行、高性能网络通信引擎内置了Http/WebSocket服务器端/客户端...
查看>>