logo
  • 教程列表
  • SO官方文檔
  • 命令列範圍
    • 絕對行號
    • 相對行號
    • 線路快捷方式
    • 分數
    • 搜尋
    • 線偏移
    • 混合範圍
  1. StackOverflow 文件
  2. vim 教程
  3. 命令列範圍
  4. 線偏移

線偏移

Created: November-22, 2018

線偏移可用於調整起始和結束線:

:/foo/-,/bar/+4command    " from the line above next 'foo' to 4 lines below next 'bar'

見:help search-offset。

  • 混合範圍
  • 搜尋

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明