Skip to content

Instantly share code, notes, and snippets.

@avosalmon
Last active June 20, 2019 07:48
Show Gist options
  • Save avosalmon/7d54524c15f2bcf05b6e64698a942b94 to your computer and use it in GitHub Desktop.
Save avosalmon/7d54524c15f2bcf05b6e64698a942b94 to your computer and use it in GitHub Desktop.
Put this file into ~/Library/Application Support/iTerm2/DynamicProfiles
{
"Profiles": [
{
"Working Directory": "/Users/ryuta",
"Prompt Before Closing 2": 0,
"Selected Text Color": {
"Green Component": 0.5648583769798279,
"Blue Component": 0.5636365413665771,
"Red Component": 0.5059919357299805
},
"Rows": 25,
"Ansi 11 Color": {
"Green Component": 0.4071767330169678,
"Blue Component": 0.4385056495666504,
"Red Component": 0.32436618208885193
},
"Use Italic Font": true,
"Foreground Color": {
"Green Component": 0.5096293091773987,
"Blue Component": 0.5168579816818237,
"Red Component": 0.44058024883270264
},
"Right Option Key Sends": 2,
"Character Encoding": 4,
"Selection Color": {
"Green Component": 0.15575926005840302,
"Blue Component": 0.1937013864517212,
"Red Component": 0
},
"Triggers": [],
"Blend": 0.30000001192092896,
"Mouse Reporting": true,
"Ansi 4 Color": {
"Green Component": 0.46265947818756104,
"Blue Component": 0.7823141813278198,
"Red Component": 0.12754884362220764
},
"Non-ASCII Anti Aliased": true,
"Sync Title": false,
"Disable Window Resizing": true,
"Close Sessions On End": true,
"Jobs to Ignore": [
"rlogin",
"ssh",
"slogin",
"telnet"
],
"Scrollback With Status Bar": false,
"Scrollback Lines": 1000,
"Scrollback in Alternate Screen": true,
"Hide After Opening": false,
"Flashing Bell": false,
"BM Growl": true,
"Ansi 3 Color": {
"Green Component": 0.4675142467021942,
"Blue Component": 0.023484811186790466,
"Red Component": 0.6474647521972656
},
"Use Non-ASCII Font": true,
"Shortcut": "",
"Background Image Location": "",
"Bold Color": {
"Green Component": 0.5648583769798279,
"Blue Component": 0.5636365413665771,
"Red Component": 0.5059919357299805
},
"Unlimited Scrollback": false,
"Custom Command": "No",
"Smart Selection Rules": [
{
"notes": "Word bounded by whitespace",
"regex": "\\S+",
"precision": "low"
},
{
"notes": "C++ namespace::identifier",
"regex": "([a-zA-Z0-9_]+::)+[a-zA-Z0-9_]+",
"precision": "normal"
},
{
"notes": "Paths",
"regex": "\\~?/?([[:letter:][:number:]._-]+/+)+[[:letter:][:number:]._-]+/?",
"precision": "normal"
},
{
"notes": "Quoted string",
"regex": "@?\"(?:[^\"\\\\]|\\\\.)*\"",
"precision": "normal"
},
{
"notes": "Java/Python include paths",
"regex": "([[:letter:][:number:]._]+\\.)+[[:letter:][:number:]._]+",
"precision": "normal"
},
{
"notes": "mailto URL",
"regex": "\\bmailto:([a-z0-9A-Z_]+@)?([a-zA-Z0-9\\-]+\\.)*[a-zA-Z0-9\\-]+\\b",
"precision": "normal"
},
{
"notes": "Obj-C selector",
"regex": "@selector\\([^)]+\\)",
"precision": "high"
},
{
"notes": "email address",
"regex": "\\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,4}\\b",
"precision": "high"
},
{
"notes": "HTTP URL",
"regex": "https?://([a-z0-9A-Z]+(:[a-zA-Z0-9]+)?@)?[a-z0-9A-Z]+(\\.[a-z0-9A-Z]+)*((:[0-9]+)?)(/[a-zA-Z0-9;/\\.\\-_+%~?&@=#\\(\\)]*)?",
"precision": "very_high"
},
{
"notes": "SSH URL",
"regex": "\\bssh:([a-z0-9A-Z_]+@)?([a-zA-Z0-9\\-]+\\.)*[a-zA-Z0-9\\-]+\\b",
"precision": "very_high"
},
{
"notes": "Telnet URL",
"regex": "\\btelnet:([a-z0-9A-Z_]+@)?([a-zA-Z0-9\\-]+\\.)*[a-zA-Z0-9\\-]+\\b",
"precision": "very_high"
}
],
"Keyboard Map": {
"0xf700-0x260000": {
"Action": 10,
"Text": "[1;6A"
},
"0x37-0x40000": {
"Action": 11,
"Text": "0x1f"
},
"0x32-0x40000": {
"Action": 11,
"Text": "0x00"
},
"0xf709-0x20000": {
"Action": 10,
"Text": "[17;2~"
},
"0xf70c-0x20000": {
"Action": 10,
"Text": "[20;2~"
},
"0xf729-0x20000": {
"Action": 10,
"Text": "[1;2H"
},
"0xf72b-0x40000": {
"Action": 10,
"Text": "[1;5F"
},
"0xf705-0x20000": {
"Action": 10,
"Text": "[1;2Q"
},
"0xf703-0x260000": {
"Action": 10,
"Text": "[1;6C"
},
"0xf700-0x220000": {
"Action": 10,
"Text": "[1;2A"
},
"0xf701-0x280000": {
"Action": 11,
"Text": "0x1b 0x1b 0x5b 0x42"
},
"0x38-0x40000": {
"Action": 11,
"Text": "0x7f"
},
"0x33-0x40000": {
"Action": 11,
"Text": "0x1b"
},
"0xf703-0x220000": {
"Action": 10,
"Text": "[1;2C"
},
"0xf701-0x240000": {
"Action": 10,
"Text": "[1;5B"
},
"0xf70d-0x20000": {
"Action": 10,
"Text": "[21;2~"
},
"0xf702-0x260000": {
"Action": 10,
"Text": "[1;6D"
},
"0xf729-0x40000": {
"Action": 10,
"Text": "[1;5H"
},
"0xf706-0x20000": {
"Action": 10,
"Text": "[1;2R"
},
"0x34-0x40000": {
"Action": 11,
"Text": "0x1c"
},
"0xf700-0x280000": {
"Action": 11,
"Text": "0x1b 0x1b 0x5b 0x41"
},
"0x2d-0x40000": {
"Action": 11,
"Text": "0x1f"
},
"0xf70e-0x20000": {
"Action": 10,
"Text": "[23;2~"
},
"0xf702-0x220000": {
"Action": 10,
"Text": "[1;2D"
},
"0xf703-0x280000": {
"Text": "f",
"Action": 10
},
"0xf700-0x240000": {
"Action": 10,
"Text": "[1;5A"
},
"0xf707-0x20000": {
"Action": 10,
"Text": "[1;2S"
},
"0xf70a-0x20000": {
"Action": 10,
"Text": "[18;2~"
},
"0x35-0x40000": {
"Action": 11,
"Text": "0x1d"
},
"0xf70f-0x20000": {
"Action": 10,
"Text": "[24;2~"
},
"0xf703-0x240000": {
"Action": 10,
"Text": "[1;5C"
},
"0xf701-0x260000": {
"Action": 10,
"Text": "[1;6B"
},
"0xf702-0x280000": {
"Text": "b",
"Action": 10
},
"0xf72b-0x20000": {
"Action": 10,
"Text": "[1;2F"
},
"0x36-0x40000": {
"Action": 11,
"Text": "0x1e"
},
"0xf708-0x20000": {
"Action": 10,
"Text": "[15;2~"
},
"0xf701-0x220000": {
"Action": 10,
"Text": "[1;2B"
},
"0xf70b-0x20000": {
"Action": 10,
"Text": "[19;2~"
},
"0xf702-0x240000": {
"Action": 10,
"Text": "[1;5D"
},
"0xf704-0x20000": {
"Action": 10,
"Text": "[1;2P"
}
},
"Log Directory": "",
"Use Canonical Parser": false,
"Ansi 14 Color": {
"Green Component": 0.5648583769798279,
"Blue Component": 0.5636365413665771,
"Red Component": 0.5059919357299805
},
"Ansi 2 Color": {
"Green Component": 0.5411549210548401,
"Blue Component": 0.020208755508065224,
"Red Component": 0.44977453351020813
},
"Background Image Is Tiled": false,
"Send Code When Idle": false,
"ASCII Anti Aliased": true,
"Tags": [],
"Ansi 9 Color": {
"Green Component": 0.21325300633907318,
"Blue Component": 0.07353043556213379,
"Red Component": 0.7417625784873962
},
"Use Bold Font": true,
"Silence Bell": false,
"Ansi 12 Color": {
"Green Component": 0.5096293091773987,
"Blue Component": 0.5168579816818237,
"Red Component": 0.44058024883270264
},
"Window Type": 0,
"Allow Title Reporting": false,
"Use Bright Bold": true,
"Cursor Text Color": {
"Green Component": 0.15575926005840302,
"Blue Component": 0.1937013864517212,
"Red Component": 0
},
"Default Bookmark": "No",
"Cursor Color": {
"Green Component": 0.5096293091773987,
"Blue Component": 0.5168579816818237,
"Red Component": 0.44058024883270264
},
"Disable Smcup Rmcup": false,
"Name": "Solarized Dark",
"Blinking Cursor": false,
"Guid": "F1D8FF55-C8E5-456A-8608-2D3CEC9BEB94",
"Ansi 1 Color": {
"Green Component": 0.10840655118227005,
"Blue Component": 0.14145714044570923,
"Red Component": 0.8192697763442993
},
"Idle Code": 0,
"Ansi 10 Color": {
"Green Component": 0.35665956139564514,
"Blue Component": 0.38298487663269043,
"Red Component": 0.27671992778778076
},
"Ansi 8 Color": {
"Red Component": 0.34509803921568627,
"Color Space": "sRGB",
"Blue Component": 0.4588235294117647,
"Alpha Component": 1,
"Green Component": 0.43137254901960786
},
"Automatically Log": false,
"Smart Cursor Color": true,
"Semantic History": {
"editor": "com.sublimetext.3",
"text": "",
"action": "best editor"
},
"Ambiguous Double Width": false,
"Blur Radius": 2,
"Ansi 0 Color": {
"Green Component": 0.15575926005840302,
"Blue Component": 0.1937013864517212,
"Red Component": 0
},
"Cursor Type": 2,
"Blur": false,
"Normal Font": "HackNerdFontComplete-Regular 14",
"Vertical Spacing": 1,
"Disable Printing": false,
"Ansi 7 Color": {
"Green Component": 0.8900123834609985,
"Blue Component": 0.7978110313415527,
"Red Component": 0.916110634803772
},
"Command": "",
"Terminal Type": "xterm-256color",
"Horizontal Spacing": 1,
"Option Key Sends": 2,
"Blink Allowed": false,
"Minimum Contrast": 0,
"Ansi 15 Color": {
"Green Component": 0.9579439163208008,
"Blue Component": 0.8640598058700562,
"Red Component": 0.9894341826438904
},
"Ansi 6 Color": {
"Green Component": 0.570823609828949,
"Blue Component": 0.5250227451324463,
"Red Component": 0.1467953473329544
},
"Transparency": 0,
"Initial Text": "",
"Background Color": {
"Green Component": 0.1178361028432846,
"Blue Component": 0.15170273184776306,
"Red Component": 0
},
"Screen": -1,
"Non Ascii Font": "HackNerdFontComplete-Regular 14",
"Ansi 13 Color": {
"Green Component": 0.33896297216415405,
"Blue Component": 0.7290843725204468,
"Red Component": 0.3479863405227661
},
"Columns": 80,
"Visual Bell": true,
"Custom Directory": "No",
"Ansi 5 Color": {
"Green Component": 0.10802463442087173,
"Blue Component": 0.4351663589477539,
"Red Component": 0.777389407157898
},
"Set Local Environment Vars": true
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment