我經常在vim中做一個視覺選擇來移動代碼的右/左行。換班後,Vim總是讓我處於最頂級的位置。 我想要的是一個簡單的方法來達到最底線。有沒有辦法做到這一點?在vim中移動一個視覺選擇後回到最底部
例如
# before
puts 'hello'
puts 'oops i messed up # visual select to indent
puts 'and need to indent' # visual select to indent
puts 'these three lines' # visual select to indent
# after
puts 'hello'
puts 'oops i messed up # cursor ends up here
puts 'and need to indent'
puts 'these three lines' # but i want it here
完美!現在我只需要使它具有肌肉記憶 – Dty
無法使它工作(Windows中的Gvim)。什麼是幫助條目? – Niloct
這裏是文檔:':h'>'。你也可以看看文檔的這一部分:':h mark-motions'。 –