Mapping -Arrows to selecting characters/lines

前端 未结 8 1110
再見小時候
再見小時候 2020-12-29 03:55

I started to use vim recently, but I miss the character/line selection methods from other text editors. By default vim maps ,

8条回答
  •  梦谈多话
    2020-12-29 04:28

    Slightly different from progo's answer - this gives the same feel as mac apps normally have:

    nmap  v
    nmap  v
    nmap  v
    nmap  v
    vmap  
    vmap  
    vmap  
    vmap  
    

    The differences being switch to visual mode instead of visual line mode, and not losing the initial up/down etc keystroke.

提交回复
热议问题