zoukankan      html  css  js  c++  java
  • Vim常用命令:移动 跳转 到 文档开头或末尾

    gg:命令将光标移动到文档开头

    G:命令将光标移动到文档末尾

    vi编辑器中在命令行模式下输入G可以直接跳转到页面的底部

    在命令行模式下输入1G可以跳转到页面的头部位置

    更多在vi中移动编辑位置的命令说明如下:

      • h Move left
      • j Move down
      • k Move up
      • l Move right
      • w Move to next word
      • W Move to next blank delimited word
      • b Move to the beginning of the word
      • B Move to the beginning of blank delimted word
      • e Move to the end of the word
      • E Move to the end of Blank delimited word
      • ( Move a sentence back
      • ) Move a sentence forward
      • { Move a paragraph back
      • } Move a paragraph forward
      • 0 Move to the begining of the line
      • $ Move to the end of the line
      • 1G Move to the first line of the file
      • G Move to the last line of the file
      • nG Move to nth line of the file
      • :n Move to nth line of the file
      • fc Move forward to c
      • Fc Move back to c
      • H Move to top of screen
      • M Move to middle of screen
      • L Move to botton of screen
      • % Move to associated ( ), { }, [ ]

  • 相关阅读:
    maven3实战之仓库(快照版本)
    三、常见分析函数详解
    二、理解over()函数
    一、Oracle分析函数入门
    Java程序性能优化技巧
    同步synchronized用法
    java枚举使用详解
    jpa+spring配置多数据源
    jxl导入/导出excel
    CVS数据的导入和导出
  • 原文地址:https://www.cnblogs.com/pythonClub/p/9884071.html
Copyright © 2011-2022 走看看