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 ...
随机推荐
- Android 蓝牙打印超时问题的处理
http://stackoverflow.com/questions/18657427/ioexception-read-failed-socket-might-closed-bluetooth-on ...
- C++ 几种构造函数的区分和调用
class A { public: A(); //默认构造 A( A& a ); //copy构造 const A& operator=( const A& a ); //赋值 ...
- requestWindowFeature(Window.FEATURE_NO_TITLE)无效解决方法
今天在<第一行代码>上学习做自定义标题栏,需要将系统自带的标题栏隐藏掉,使用自定义的标题栏,结果发现,requestWindowFeature(Window.FEATURE_NO_TITL ...
- ionic tabs置顶
找了好久怎么解决这问题,终于找到了一哥们留下来的经验,万分感谢,特此拷贝过来,留着下次以免忘记 我在主页ion-nav-bar元素上添加hide-nav-bar=“true”;然后又在ion-view ...
- autoit使用WMIC获取硬件信息
效果图: 直接上源码了 #cs ---------------------------------------------------------------------------- AutoIt ...
- 如何在RichTextBox中改变多个字符串的颜色以及字体
目标:传入目标富文本框以及需要查找的字符串,如果文本框中存在字符串,则改变其颜色和字体 可能因为这个问题比较简单,在网上找了很久,也没有一个好的方法.少有的一些方法,也只是改变第一个找到的字符串的颜色 ...
- [转载] 在java中为什么变量1000 = 1000 返回false,但是100=100返回true?
ps:题目的意思是指定义相同内容的不同变量之间的==比较.如果直接比较(100 == 100)的结果是true. 运行以下代码: Integer a = 1000, b = 1000; System. ...
- 剑指offer-二叉树的深度
题目: 输入一棵二叉树,求该树的深度.从根结点到叶结点依次经过的结点(含根.叶结点)形成树的一条路径,最长路径的长度为树的深度. 链接: http://www.nowcoder.com/practic ...
- Sql Server 按行处理表数据思路
SqlServer的游标当超过1000行左右的时候效率极其低下. DECLARE @Company VARCHAR(12)='' SELECT TOP 1 @Company=CompanyID FRO ...
- TUniConnection连接
ChangeFileExt RealTime_Server.ini: [Config]FromConStr=DBTYPE=0|SERVER=127.0.0.1|PORT=7788|DBNAME=jzx ...