| Key | Description |
|---|---|
| ⌥+Arrow Key(←◀,→ ►) | Word |
| ⌥+Arrow Key(↑▲, ↓▼) | Home, End |
| ∧+Arrow Key | Switching between applications |
| <fn>+↑▲, ↓▼ | PageUp, PageDn |
| ⌘+↑▲, ↓▼ | Begin of the Text, End of Text |
| ⌘+←◀, →► | Begin of the Line, End of Line |
| ⌥+↩ | Chinese input |
| <fn>+⌫ | Work as MS Windows delete key |
| Action | Key | Descriptions |
|---|---|---|
| Move Backward by Word | ⌥+← | |
| Move Forward by Word | ⌥+→ | |
| Home (Begin of the Line) | ⌥+↑ | |
| End (End of the Line) | ⌥+↓ | |
| PageUp | <fn>+↑ | doesn't follow carrot |
| PageDown | <fn>+↓ | doesn't follow carrot |
| PageUp | ⌥+<fn>+↑ | follow carrot |
| PageDown | ⌥+<fn>+↓ | follow carrot |
| Move to Begin of the Text | ⌘+↑ | |
| Move to End of the Text | ⌘+↓ | |
| Move to Begin of the Line | ⌘+← | |
| Move to End of the Line | ⌘+→ | |
| Change to Hanja(Chinese input) | ⌥+↩ | |
| Delete (Work as a MS Windows delete key) | <fn>+⌫ |
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceFolder}/typescript/out/hello.js",
"outFiles": ["${workspaceFolder}/**/*.js"]
}
]
}
{
"version": "2.0.0",
"tasks": [
{
"type": "typescript",
"tsconfig": "tsconfig.json",
"option": "watch",
"problemMatcher": [
"$tsc-watch"
],
"group": "build"
}
]
}
$ npm install ts-node --save-dev $ npm install nodemon --save-dev
{
"name": "typescript",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "npm run build:live",
"build": "tsc -p .",
"build:live": "nodemon --watch '*.ts' --exec 'ts-node' hello.ts",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"nodemon": "^2.0.20",
"ts-node": "^9.1.1",
"typescript": "^4.2.4"
}
}