gaitana
V2EX  ›  问与答

iTerm2 删除单词的时候把点号连接的单词全删除了

  •  
  •   gaitana · Aug 14, 2015 · 3496 views
    This topic created in 3943 days ago, the information mentioned may be changed or developed.
    比如 user.name ,按ctrl+w删除光标前的单词,按常理应该是删除name,但在iterm2里面把整个 user.name 给删除了,也就是说,iterm2把它当成一个单词了,怎么破?
    2 replies    2019-11-13 17:43:14 +08:00
    gaitana
        1
    gaitana  
    OP
       Aug 14, 2015
    自己解决了

    Keyboard Shortcut:⌥←Delete
    Action: Send Hex Code
    0x1B 0x08

    http://elweb.co/making-iterm-2-work-with-normal-mac-osx-keyboard-shortcuts/
    BubbleNoodle
        2
    BubbleNoodle  
       Nov 13, 2019
    太牛了!!!哈哈哈
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3955 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 04:19 · PVG 12:19 · LAX 21:19 · JFK 00:19
    ♥ Do have faith in what you're doing.