版權聲明

所有的部落格文章都可以在右邊[blog文章原始檔案]下載最原始的文字檔案,並依你高興使用 docutil 工具轉換成任何對應的格式方便離線閱覽,除了集結成書販賣歡迎任意取用,引用

vim 導覽指令

導覽指令集

Jump

jump有一個jump list管理

Ctrl-O  goto older (上一步)
Ctrl-I  goto newer (下一步)

gg      檔頭
G       檔尾
gd      goto local define
gf      goto file (cursor)
gD      goto global define
ctrl-]  jump to tag
ctrl-T  back tag

ju      show jump list

Move

Ctrl-f  page up
Ctrl-b  page down
0       home
$       end
^       目前行第一個字

move in screen

H       Top of screen
M       middle of screen
L       bottom of screen

move by word

w       next word
W       next word (include _-.等連結符號)
b       pre word
B       pre word (see W)

C code navigation

[[      function start  ][      function end
[{      block start     ]}      block end
[]      pre function    ]]      next function
[#      pre #ifdef      ]#      next #ifdef
[* [/   /*      ]* ]/   */

[I      find identifiers

沒有留言:

Related Posts with Thumbnails