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 ...
随机推荐
- Python DES 加密解密,就是大家所谓想要的那个非常快速的方法
这个要借助Crypto.Cipher这个插件来实现的,引用后只需要写如下代码即可 from Crypto.Cipher import DES class MyDESCrypt: key = chr(1 ...
- JavaScript的toString()和valueof()方法
toString()方法: 函数:函数 (function(){}).toString(); //返回"function(){}" typeof((function(){}).to ...
- CuteSTL——跟着感觉造轮子
置顶推荐: CuteSTL:https://github.com/jxd134/algorithm/tree/master/CuteSTL TinySTL:https://github.com/zou ...
- 部署web应用
package it.cast.servlet; import java.io.IOException; import java.io.PrintWriter; import javax.servle ...
- android sdk manager 代理设置(送给牛逼的)
解决android sdk更新慢的问题(公司竟然把sdk更新给墙了). 第一步:如下图 第二部:进入代理设置页面,进行设置.如下图
- VS2010中的查找和替换中正则的使用
只是记下来怕以后忘记了: 查找:/news/(\d+).html 要匹配(\d+),记得用括号 替换为:/NewsDetails.aspx?id=$1 $1表示匹配的结果
- Winmail.dat(TNEF) issue on outlook
http://www.dwheeler.com/essays/microsoft-outlook-tnef.html
- 如何查看屏幕touch driver是否在正常工作
1. adb shell cat proc/bus/input/devices查看touch对应的是哪个event,如是event3: 2. adb shell getevent dev/input/ ...
- backtrack下vim的使用
root@bt:~# vim test.c //vim新建或者编辑test.c,执行后进入vim编辑器,按a键进入编辑状态,输入C代码 #include<stdio.h> void mai ...
- jQuery-表单流程导航
前言:以前做过一个项目,里面牵涉到流程相关的业务,需要用到流程页面导航的效果,完整的工作流相关的项目以前也做过,需要用到第三方插件,当然这里记录的业务需求没这个麻烦,仅仅需要能有一个页面导航的标题栏, ...