2013-02-14 33 views

回答

0

是的,有。詳情請見:help 'whichwrap'

'whichwrap' 'ww' string (Vim default: "b,s", Vi default: "") 
      global 
      {not in Vi} 
    Allow specified keys that move the cursor left/right to move to the 
    previous/next line when the cursor is on the first/last character in 
    the line. Concatenate characters to allow this for these keys: 
     char key mode ~ 
     b <BS> Normal and Visual 
     s <Space> Normal and Visual 
     h "h" Normal and Visual (not recommended) 
     l "l" Normal and Visual (not recommended) 
     < <Left>  Normal and Visual 
     > <Right> Normal and Visual 
     ~ "~" Normal 
     [ <Left>  Insert and Replace 
     ] <Right> Insert and Replace 
    For example: > 
     :set ww=<,>,[,] 
+0

謝謝安東!它解決了這個問題 – user2071470 2013-02-14 13:23:14

相關問題