2
A
回答
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=<,>,[,]
相關問題
- 1. 控制左不將光標移動到前一個單詞
- 2. 在Xcode中是否有一個鍵盤快捷鍵將光標移動到當前行的第一個字符?
- 3. 如何讓光標在QT中向前/向後移動?
- 4. Emacs:移動到某個字符,向前和向後
- 5. 跳轉到一個光標位置命令後,在vim
- 6. 當我在當前字符串的左上角時,將文本光標移動到上一個字符串
- 7. 如何向前移動文本光標?
- 8. 而在橫向方向按enter鍵不會將光標移動到一個新行
- 9. 如何將UITextField光標移動到下一個文本字段
- 10. 如何將光標移動到下一個文本字段?
- 11. 向下滾動一行而不移動光標(Vim的`Ctrl-E`)在Emacs中
- 12. 移動光標後面然後跳運動
- 13. 如何使用as3在textarea中寫入30個字符後自動將光標移動到下一行?
- 14. XCode 4光標在自動建議時跳轉到第一行
- 15. 驗證輸入字段移動到另一個字段後,而不是在keydown
- 16. 的Vim:T下一頁不將光標移動到下一個標籤
- 17. three.js將球向前和向後移動
- 18. Php將光標移動到最後一行
- 19. 光標前的字符
- 20. 的UITextField跳轉到以前
- 21. 光標不移動
- 22. 將光標移動到UITextField的開頭
- 23. 移動光標到最後一個輸入
- 24. 將字符串之後的模式移動到之前
- 25. 如何使用Python將光標移動到MySQL中的最後一個記錄?
- 26. 如何影響唯一真正的EOL字符,而不是「\ n」個文本
- 27. 跳轉到Xcode中的當前光標位置
- 28. 如何將光標從一個活動移動到另一個活動
- 29. 旋轉2向量,向後移動並跳過區域。 C#
- 30. 移動光標到下一個字段使用Javascript
謝謝安東!它解決了這個問題 – user2071470 2013-02-14 13:23:14