xx0219
V2EX  ›  问与答

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

  •  
  •   xx0219 · Aug 18, 2016 · 2053 views
  •   You need to sign in to view this topic
    This topic created in 3705 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   ·   Privacy   ·   Solana   ·   955 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 21:18 · PVG 05:18 · LAX 14:18 · JFK 17:18
    ♥ Do have faith in what you're doing.