V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
gaitana
V2EX  ›  问与答

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

  •  
  •   gaitana · 2015-08-14 16:11:15 +08:00 · 2534 次点击
    这是一个创建于 3149 天前的主题,其中的信息可能已经有所发展或是发生改变。
    比如 user.name ,按ctrl+w删除光标前的单词,按常理应该是删除name,但在iterm2里面把整个 user.name 给删除了,也就是说,iterm2把它当成一个单词了,怎么破?
    2 条回复    2019-11-13 17:43:14 +08:00
    gaitana
        1
    gaitana  
    OP
       2015-08-14 17:17:04 +08:00
    自己解决了

    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  
       2019-11-13 17:43:14 +08:00
    太牛了!!!哈哈哈
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3503 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 11:06 · PVG 19:06 · LAX 04:06 · JFK 07:06
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.