xx0219
V2EX  ›  问与答

vim: 左右键 怎么到上行尾部 / 下行的首部

  •  
  •   xx0219 · Aug 18, 2016 · 1845 views
    This topic created in 3600 days ago, the information mentioned may be changed or developed.

    现在的 vim
    左右键的话 只能在当前行移动.
    移动到行首 行尾就移不动了...
    想要去下一行 只能用上下键...

    应该有办法 能实现  左右键 跨行的.... 
    
    只是不知道是开启那个设置...
    
    4 replies    2016-08-18 15:48:57 +08:00
    debiann
        1
    debiann  
       Aug 18, 2016 via iPhone
    可以用 b w
    xxxyyy
        2
    xxxyyy  
       Aug 18, 2016 via Android
    :set we+=<,>

    查看更多信息,可:
    :help ww
    pright
        3
    pright  
       Aug 18, 2016
    :h whichwrap
    xxxyyy
        4
    xxxyyy  
       Aug 18, 2016 via Android
    @xxxyyy 修正,是 :set ww+=<,>
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2905 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 6b34f497 · 36ms · UTC 03:31 · PVG 11:31 · LAX 20:31 · JFK 23:31
    ♥ Do have faith in what you're doing.