iTerm2 cheatsheet (from github)
https://gist.github.com/helger/3070258
Tabs and Windows
Function | Shortcut |
---|---|
Previous Tab | ⌘ + Left Arrow |
Next Tab | ⌘ + Right Arrow |
Go to Tab | ⌘ + Number |
Go to Window | ⌘ + Option + Number |
Go to Split Pane by Direction | ⌘ + Option + Arrow |
Go to Split Pane by Order of Use | ⌘ + ] , ⌘ + [ |
Split Window Horizontally (same profile) | ⌘ + D |
Split Window Vertically (same profile) | ⌘ + d |
Split Window Horizontally (new profile) | Option + ⌘ + H |
Split Window Vertically (new profile) | Option + ⌘ + V |
Set Mark | ⌘ + M |
Jump to Mark | ⌘ + J |
Basic Moves
Function | Shortcut |
---|---|
Move back one character | Ctrl + b |
Move forward one character | Ctrl + f |
Delete current character | Ctrl + d |
Delete previous character | Backspace |
Undo | Ctrl + - |
Moving Faster
Function | Shortcut |
---|---|
Move to the start of line | Ctrl + a |
Move to the end of line | Ctrl + e |
Move forward a word | Option + f |
Move backward a word | Option + b |
Clear the screen | ⌘ + k |
Cut and Paste
Function | Shortcut |
---|---|
Cut from cursor to the end of line | Ctrl + k |
Cut from cursor to the end of word | Option + d |
Cut from cursor to the start of word | Option + Backspace |
Cut from cursor to previous whitespace | Ctrl + w |
Paste the last cut text | Ctrl + w |
Loop through and paste previously cut text | Option + y |
Loop through and paste the last argument of previous commands | Option + . |
Search the Command History
Function | Shortcut |
---|---|
Search as you type | Ctrl + r and type the search term; Repeat Ctrl + r to loop through result |
Search the last remembered search term | Ctrl + r twice |
End the search at current history entry | Ctrl + y |
Cancel the search and restore original line | Ctrl + g |
iTerm2 cheatsheet (from github)的更多相关文章
- Github & DMCA Takedown Policy
Github & DMCA Takedown Policy Digital Millennium Copyright Act 数字千年版权法案 https://help.github.com/ ...
- Mac下iTerm2配置lrzsz功能
Mac下iTerm2配置lrzsz功能 rz,sz是Linux/Unix同Windows进行ZModem文件传输的命令行工具. 优点就是不用再开一个sftp工具登录上去上传下载文件. 近期在mac上通 ...
- Gvim+Emmet.vim 那些事。
转自:http://www.jianshu.com/p/67fa1e2114c5 背景 HTML和CSS的写法相对固定,而且重复的工作特别多,特别是尖括号实在是很烦.使用Emmet至少能帮你节省一半的 ...
- homebrew & brew cask使用技巧及Mac软件安装
homebrew 安装 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/m ...
- [Jest] Write data driven tests in Jest with test.each
Often, we end up creating multiple unit tests for the same unit of code to make sure it behaves as e ...
- docker 概览 (1)
Docker Docker 是一个开源的应用容器引擎,让开发者可以打包他们的应用以及依赖包到一个可移植的镜像中,然后发布到任何流行的 Linux或Windows 机器上,也可以实现虚拟化.容器是完全使 ...
- bash for mac
bash for mac https://sourabhbajaj.com/mac-setup/iTerm/ https://sourabhbajaj.com/mac-setup/iTerm/zsh. ...
- git alias & zsh
git alias & zsh VPN & git work tree # git pull === gp ➜ .git git:(feature/select-seat-system ...
- MacOS常用命令行工具
转自:https://blog.csdn.net/u014102846/article/details/77964493 https://ohmyz.sh/ https://github.com/ro ...
随机推荐
- openssl生成ssl证书
openssl生成ssl证书 x509证书一般会用到三类文,key,csr,crt. Key 是私用密钥openssl格,通常是rsa算法. Csr 是证书请求文件,用于申请证书.在制作csr文件的时 ...
- python字符串的编码格式
参考网站: http://www.cnblogs.com/siqi/archive/2012/11/10/2763598.html 环境: win7 x64 python v2.7.10 结论: 1 ...
- Python 配置日志
Python 2.6+ def cfgLogging(): from logging.handlers import RotatingFileHandler console = logging.Str ...
- 【转载】nodejs,npm,express分别什么?
很多刚刚接触nodejs的初学者,都会经历一个很繁冗的环境安装过程. 一般主要要安装nodejs,npm和express三样东西.那么这三样东西分别是干什么的呢? 本篇文章就大致介绍一下这三样东西分别 ...
- [转]Dynamic SQL & Stored Procedure Usage in T-SQL
转自:http://www.sqlusa.com/bestpractices/training/scripts/dynamicsql/ Dynamic SQL & Stored Procedu ...
- 如何让CCLayer创造的地图,左右滑动不出现黑边
在都是scale为1的情况下,效果图如下: , 绿色的是Screen,它的大小和坐标不变,可以理解为CCScene,下面两个就是用CCLayer的地图,有2个Layer,深颜色的就是和Scrren一样 ...
- android studio 生成aar包并在其他工程引用 (导入)aar包
1.aar包是Android studio下打包android工程中src.res.lib后生成的aar文件,aar包导入其他android studio 工程后,其他工程可以方便引用源码和资源文件 ...
- android layout布局属性
参考:http://blog.csdn.net/msmile_my/article/details/9018775 第一类:属性值 true或者 false android:lay ...
- sublime安装插件步骤
sublime text 3 安装package contol: 快捷键:ctrl+`进入命令行输入 import urllib.request,os;pf='Package Control.sub ...
- Entity Framework学习笔记——配置EF
初次使用Entity Framework(以下简称EF),为了避免很快忘记,决定开日志记录学习过程和遇到的问题.因为项目比较小,只会用到EF的一些基本功能,因此先在此处制定一个学习目标:1. 配置EF ...