Function | Shortcut |
---|---|
New Tab | ⌘ + T |
Close Tab or Window | ⌘ + W (same as many mac apps) |
Go to Tab | ⌘ + Number Key (ie: ⌘2 is 2nd tab) |
Go to Split Pane by Direction | ⌘ + Option + Arrow Key |
Cycle iTerm Windows | ⌘ + backtick (true of all mac apps and works with desktops/mission control) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
created: <% tp.date.now("YYYY-MM-DD HH:mm") %> | |
aliases: [<% tp.file.title %>] | |
weather: "<% tp.user.天氣_台北市() %>" | |
tags: [ daily ] | |
--- | |
# <% tp.file.title %> | |
Modified:: <%+ tp.file.last_modified_date() %> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: build run | |
build: | |
gfortran omp_hello.f90 -fopenmp -lgomp | |
f2py -c -m omp_hello omp_hello.f90 --f90flags="-fopenmp" -lgomp | |
run: | |
@echo '********************' | |
@echo 'running pure fortran' | |
@echo '********************' |
Key/Command | Description |
---|---|
Tab | Auto-complete files and folder names |
Ctrl + A | Go to the beginning of the line you are currently typing on |
Ctrl + E | Go to the end of the line you are currently typing on |
Ctrl + U | Clear the line before the cursor |
Ctrl + K | Clear the line after the cursor |
Ctrl + W | Delete the word before the cursor |
Ctrl + T | Swap the last two characters before the cursor |
As configured in my dotfiles.
start new:
tmux
start new with session name: