Skip to content

Instantly share code, notes, and snippets.

@4ft35t
Created March 5, 2015 09:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 4ft35t/1128da597e0946c103f3 to your computer and use it in GitHub Desktop.
Save 4ft35t/1128da597e0946c103f3 to your computer and use it in GitHub Desktop.
iterm2-shortcuts

iterm2-shortcuts(iterm 2 快捷键)

#####标签

  • 新建标签:command + t
  • 关闭标签:command + w
  • 切换标签:command + 数字 command + 左右方向键

#####切换全屏:command + enter #####查找:command + f

#####分屏

  • 垂直分屏:command + d
  • 水平分屏:command + shift + d
  • 切换屏幕:command + option + 方向键 command + [ 或 command + ]

#####查看历史命令:command + ; #####查看剪贴板历史:command + shift + h

#####其他

  • 清除当前行:ctrl + u
  • 到行首:ctrl + a
  • 到行尾:ctrl + e
  • 前进后退:ctrl + f/b (相当于左右方向键)
  • 上一条命令:ctrl + p
  • 搜索命令历史:ctrl + r
  • 删除当前光标的字符:ctrl + d
  • 删除光标之前的字符:ctrl + h
  • 删除光标之前的单词:ctrl + w
  • 删除到文本末尾:ctrl + k
  • 交换光标处文本:ctrl + t
  • 清屏1:command + r
  • 清屏2:ctrl + l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment