item 主题: gruvbox-dark
zsh主题:gruvbox
vim 主题: happy_hacking

iTerm2_config

  1. {
  2. "Profiles": [
  3. {
  4. "Use Cursor Guide" : true,
  5. "Bold Color" : {
  6. "Red Component" : 0.69019607843137254,
  7. "Color Space" : "sRGB",
  8. "Blue Component" : 0.52156862745098043,
  9. "Alpha Component" : 1,
  10. "Green Component" : 0.38039215686274508
  11. },
  12. "Columns" : 110,
  13. "Use Bright Bold" : true,
  14. "Background Color" : {
  15. "Red Component" : 0.11759927868843079,
  16. "Color Space" : "Calibrated",
  17. "Blue Component" : 0.11759774386882782,
  18. "Alpha Component" : 1,
  19. "Green Component" : 0.11759573966264725
  20. },
  21. "Ansi 8 Color" : {
  22. "Red Component" : 0.49889594316482544,
  23. "Color Space" : "Calibrated",
  24. "Blue Component" : 0.37962067127227783,
  25. "Alpha Component" : 1,
  26. "Green Component" : 0.43934443593025208
  27. },
  28. "Right Option Key Sends" : 0,
  29. "Has Hotkey" : true,
  30. "Blinking Cursor" : true,
  31. "Cursor Boost" : 0,
  32. "Open Password Manager Automatically" : false,
  33. "Use Underline Color" : true,
  34. "Use Tab Color" : true,
  35. "HotKey Modifier Flags" : 1310720,
  36. "AWDS Pane Option" : "No",
  37. "Keyboard Map" : {
  38. "0xf700-0x260000" : {
  39. "Text" : "[1;6A",
  40. "Action" : 10
  41. },
  42. "0x37-0x40000" : {
  43. "Text" : "0x1f",
  44. "Action" : 11
  45. },
  46. "0x32-0x40000" : {
  47. "Text" : "0x00",
  48. "Action" : 11
  49. },
  50. "0xf709-0x20000" : {
  51. "Text" : "[17;2~",
  52. "Action" : 10
  53. },
  54. "0xf70c-0x20000" : {
  55. "Text" : "[20;2~",
  56. "Action" : 10
  57. },
  58. "0xf729-0x20000" : {
  59. "Text" : "[1;2H",
  60. "Action" : 10
  61. },
  62. "0xf72b-0x40000" : {
  63. "Text" : "[1;5F",
  64. "Action" : 10
  65. },
  66. "0xf705-0x20000" : {
  67. "Text" : "[1;2Q",
  68. "Action" : 10
  69. },
  70. "0xf703-0x260000" : {
  71. "Text" : "[1;6C",
  72. "Action" : 10
  73. },
  74. "0xf700-0x220000" : {
  75. "Text" : "[1;2A",
  76. "Action" : 10
  77. },
  78. "0xf701-0x280000" : {
  79. "Text" : "0x1b 0x1b 0x5b 0x42",
  80. "Action" : 11
  81. },
  82. "0x38-0x40000" : {
  83. "Text" : "0x7f",
  84. "Action" : 11
  85. },
  86. "0x33-0x40000" : {
  87. "Text" : "0x1b",
  88. "Action" : 11
  89. },
  90. "0xf703-0x220000" : {
  91. "Text" : "[1;2C",
  92. "Action" : 10
  93. },
  94. "0xf701-0x240000" : {
  95. "Text" : "[1;5B",
  96. "Action" : 10
  97. },
  98. "0xf703-0x280000-0x0" : {
  99. "Version" : 0,
  100. "Action" : 10,
  101. "Text" : "f",
  102. "Label" : ""
  103. },
  104. "0xf70d-0x20000" : {
  105. "Text" : "[21;2~",
  106. "Action" : 10
  107. },
  108. "0xf702-0x260000" : {
  109. "Text" : "[1;6D",
  110. "Action" : 10
  111. },
  112. "0xf729-0x40000" : {
  113. "Text" : "[1;5H",
  114. "Action" : 10
  115. },
  116. "0xf706-0x20000" : {
  117. "Text" : "[1;2R",
  118. "Action" : 10
  119. },
  120. "0x34-0x40000" : {
  121. "Text" : "0x1c",
  122. "Action" : 11
  123. },
  124. "0xf700-0x280000" : {
  125. "Text" : "0x1b 0x1b 0x5b 0x41",
  126. "Action" : 11
  127. },
  128. "0x2d-0x40000" : {
  129. "Text" : "0x1f",
  130. "Action" : 11
  131. },
  132. "0xf70e-0x20000" : {
  133. "Text" : "[23;2~",
  134. "Action" : 10
  135. },
  136. "0xf702-0x220000" : {
  137. "Text" : "[1;2D",
  138. "Action" : 10
  139. },
  140. "0xf700-0x240000" : {
  141. "Text" : "[1;5A",
  142. "Action" : 10
  143. },
  144. "0xf707-0x20000" : {
  145. "Text" : "[1;2S",
  146. "Action" : 10
  147. },
  148. "0xf70a-0x20000" : {
  149. "Text" : "[18;2~",
  150. "Action" : 10
  151. },
  152. "0x35-0x40000" : {
  153. "Text" : "0x1d",
  154. "Action" : 11
  155. },
  156. "0xf70f-0x20000" : {
  157. "Text" : "[24;2~",
  158. "Action" : 10
  159. },
  160. "0xf703-0x240000" : {
  161. "Text" : "[1;5C",
  162. "Action" : 10
  163. },
  164. "0xf701-0x260000" : {
  165. "Text" : "[1;6B",
  166. "Action" : 10
  167. },
  168. "0xf72b-0x20000" : {
  169. "Text" : "[1;2F",
  170. "Action" : 10
  171. },
  172. "0x36-0x40000" : {
  173. "Text" : "0x1e",
  174. "Action" : 11
  175. },
  176. "0xf708-0x20000" : {
  177. "Text" : "[15;2~",
  178. "Action" : 10
  179. },
  180. "0xf701-0x220000" : {
  181. "Text" : "[1;2B",
  182. "Action" : 10
  183. },
  184. "0xf70b-0x20000" : {
  185. "Text" : "[19;2~",
  186. "Action" : 10
  187. },
  188. "0xf702-0x280000-0x0" : {
  189. "Version" : 0,
  190. "Action" : 10,
  191. "Text" : "b",
  192. "Label" : ""
  193. },
  194. "0xf702-0x240000" : {
  195. "Text" : "[1;5D",
  196. "Action" : 10
  197. },
  198. "0xf704-0x20000" : {
  199. "Text" : "[1;2P",
  200. "Action" : 10
  201. }
  202. },
  203. "Open Toolbelt" : false,
  204. "AWDS Window Option" : "No",
  205. "Visual Bell" : true,
  206. "Only The Default BG Color Uses Transparency" : false,
  207. "Cursor Text Color" : {
  208. "Red Component" : 0.98039215686274506,
  209. "Color Space" : "sRGB",
  210. "Blue Component" : 0.20392156862745098,
  211. "Alpha Component" : 1,
  212. "Green Component" : 0.28235294117647058
  213. },
  214. "AWDS Tab Directory" : "",
  215. "Scrollback Lines" : 20000,
  216. "Send Idle Alert" : false,
  217. "Ansi 0 Color" : {
  218. "Red Component" : 0.11759927868843079,
  219. "Color Space" : "Calibrated",
  220. "Blue Component" : 0.11759774386882782,
  221. "Alpha Component" : 1,
  222. "Green Component" : 0.11759573966264725
  223. },
  224. "Silence Bell" : true,
  225. "Use Custom Tab Title" : false,
  226. "Rows" : 38,
  227. "Draw Powerline Glyphs" : true,
  228. "Guid" : "E8953EF3-20C3-48F3-88C4-3BC0458B850B",
  229. "Ambiguous Double Width" : false,
  230. "Option Key Sends" : 0,
  231. "HotKey Modifier Activation" : 3,
  232. "Ansi 3 Color" : {
  233. "Red Component" : 0.80126690864562988,
  234. "Color Space" : "Calibrated",
  235. "Blue Component" : 0.10328958928585052,
  236. "Alpha Component" : 1,
  237. "Green Component" : 0.53254079818725586
  238. },
  239. "Use Custom Window Title" : false,
  240. "Window Type" : 0,
  241. "HotKey Window Dock Click Action" : 1,
  242. "BM Growl" : false,
  243. "Smart Cursor Color" : true,
  244. "Underline Color" : {
  245. "Red Component" : 0.51372549019607838,
  246. "Color Space" : "sRGB",
  247. "Blue Component" : 0.59215686274509804,
  248. "Alpha Component" : 1,
  249. "Green Component" : 0.64313725490196083
  250. },
  251. "Prompt Before Closing 2" : 2,
  252. "Command" : "",
  253. "AWDS Tab Option" : "No",
  254. "Selected Text Color" : {
  255. "Red Component" : 0.98039215686274506,
  256. "Color Space" : "sRGB",
  257. "Blue Component" : 0.20392156862745098,
  258. "Alpha Component" : 1,
  259. "Green Component" : 0.28235294117647058
  260. },
  261. "HotKey Window Reopens On Activation" : false,
  262. "Send Code When Idle" : true,
  263. "Ansi 6 Color" : {
  264. "Red Component" : 0.34054014086723328,
  265. "Color Space" : "Calibrated",
  266. "Blue Component" : 0.34128850698471069,
  267. "Alpha Component" : 1,
  268. "Green Component" : 0.55607825517654419
  269. },
  270. "Jobs to Ignore" : [
  271. "rlogin",
  272. "ssh",
  273. "slogin",
  274. "telnet"
  275. ],
  276. "Cursor Color" : {
  277. "Red Component" : 0.82352941176470584,
  278. "Color Space" : "sRGB",
  279. "Blue Component" : 0.60392156862745094,
  280. "Alpha Component" : 1,
  281. "Green Component" : 0.52156862745098043
  282. },
  283. "Vertical Spacing" : 1,
  284. "Bound Hosts" : [
  285. ],
  286. "Disable Window Resizing" : true,
  287. "Close Sessions On End" : 1,
  288. "HotKey Activated By Modifier" : false,
  289. "Default Bookmark" : "No",
  290. "Custom Command" : "No",
  291. "Ansi 9 Color" : {
  292. "Red Component" : 0.96744710206985474,
  293. "Color Space" : "Calibrated",
  294. "Blue Component" : 0.15763583779335022,
  295. "Alpha Component" : 1,
  296. "Green Component" : 0.18880486488342285
  297. },
  298. "Ansi 14 Color" : {
  299. "Red Component" : 0.49072420597076416,
  300. "Color Space" : "Calibrated",
  301. "Blue Component" : 0.41142863035202026,
  302. "Alpha Component" : 1,
  303. "Green Component" : 0.71257460117340088
  304. },
  305. "Flashing Bell" : true,
  306. "Show Status Bar" : true,
  307. "Use Italic Font" : true,
  308. "Minimum Contrast" : 0,
  309. "Ansi 12 Color" : {
  310. "Red Component" : 0.44289660453796387,
  311. "Color Space" : "Calibrated",
  312. "Blue Component" : 0.52537077665328979,
  313. "Alpha Component" : 1,
  314. "Green Component" : 0.58534377813339233
  315. },
  316. "HotKey Window Floats" : true,
  317. "Non-ASCII Anti Aliased" : true,
  318. "Allow Title Reporting" : false,
  319. "Ansi 10 Color" : {
  320. "Red Component" : 0.66574931144714355,
  321. "Color Space" : "Calibrated",
  322. "Blue Component" : 0.11661489307880402,
  323. "Alpha Component" : 1,
  324. "Green Component" : 0.69061970710754395
  325. },
  326. "Foreground Color" : {
  327. "Red Component" : 0.92156862745098034,
  328. "Color Space" : "sRGB",
  329. "Blue Component" : 0.69411764705882351,
  330. "Alpha Component" : 1,
  331. "Green Component" : 0.85490196078431369
  332. },
  333. "Blink Allowed" : false,
  334. "Description" : "Default",
  335. "Sync Title" : false,
  336. "Ansi 1 Color" : {
  337. "Red Component" : 0.74529051780700684,
  338. "Color Space" : "Calibrated",
  339. "Blue Component" : 0.090684391558170346,
  340. "Alpha Component" : 1,
  341. "Green Component" : 0.05879192054271698
  342. },
  343. "Name" : "Mercutio",
  344. "Send Terminal Generated Alerts" : false,
  345. "Transparency" : 0.071570083942819163,
  346. "Horizontal Spacing" : 1,
  347. "Thin Strokes" : 4,
  348. "Reduce Flicker" : true,
  349. "Badge Color" : {
  350. "Red Component" : 0.7928692102432251,
  351. "Color Space" : "Calibrated",
  352. "Blue Component" : 0.056549370288848877,
  353. "Alpha Component" : 0.5,
  354. "Green Component" : 0.28100395202636719
  355. },
  356. "HotKey Key Code" : 45,
  357. "Idle Code" : 0,
  358. "Ansi 4 Color" : {
  359. "Red Component" : 0.21694663166999817,
  360. "Color Space" : "Calibrated",
  361. "Blue Component" : 0.4586675763130188,
  362. "Alpha Component" : 1,
  363. "Green Component" : 0.45008346438407898
  364. },
  365. "Prevent Opening in a Tab" : false,
  366. "Screen" : 0,
  367. "Selection Color" : {
  368. "Red Component" : 0.29155373573303223,
  369. "Color Space" : "sRGB",
  370. "Blue Component" : 0.047442100251373631,
  371. "Alpha Component" : 1,
  372. "Green Component" : 0.20522671286412217
  373. },
  374. "Use Non-ASCII Font" : false,
  375. "Show Timestamps" : 2,
  376. "Character Encoding" : 4,
  377. "Application Keypad Allowed" : true,
  378. "Icon" : 1,
  379. "HotKey Alternate Shortcuts" : [
  380. ],
  381. "Ansi 7 Color" : {
  382. "Red Component" : 0.5926094651222229,
  383. "Color Space" : "Calibrated",
  384. "Blue Component" : 0.44320183992385864,
  385. "Alpha Component" : 1,
  386. "Green Component" : 0.5310559868812561
  387. },
  388. "Non Ascii Font" : "Monaco 12",
  389. "HotKey Window Animates" : true,
  390. "Cursor Guide Color" : {
  391. "Red Component" : 0.40000000596046448,
  392. "Color Space" : "sRGB",
  393. "Blue Component" : 0.32549020648002625,
  394. "Alpha Component" : 0.18823529411764706,
  395. "Green Component" : 0.35686275362968445
  396. },
  397. "Title Components" : 259,
  398. "Semantic History" : {
  399. "text" : "",
  400. "action" : "best editor",
  401. "editor" : "com.github.atom"
  402. },
  403. "Working Directory" : "\/Users\/jonny",
  404. "ASCII Anti Aliased" : true,
  405. "Send New Output Alert" : false,
  406. "Custom Directory" : "No",
  407. "HotKey Window AutoHides" : false,
  408. "Shortcut" : "M",
  409. "Mouse Reporting" : true,
  410. "Send Bell Alert" : true,
  411. "Tags" : [
  412. ],
  413. "Blur Radius" : 15.089678305767958,
  414. "Background Image Location" : "",
  415. "Use Bold Font" : true,
  416. "Ansi 2 Color" : {
  417. "Red Component" : 0.52591603994369507,
  418. "Color Space" : "Calibrated",
  419. "Blue Component" : 0.082894742488861112,
  420. "Alpha Component" : 1,
  421. "Green Component" : 0.53061914443969727
  422. },
  423. "Normal Font" : "SauceCodeProNerdFontComplete-Regular 16",
  424. "Unlimited Scrollback" : false,
  425. "AWDS Window Directory" : "",
  426. "Movement Keys Scroll Outside Interactive Apps" : false,
  427. "Ansi 15 Color" : {
  428. "Red Component" : 0.90061241388320923,
  429. "Color Space" : "Calibrated",
  430. "Blue Component" : 0.63873869180679321,
  431. "Alpha Component" : 1,
  432. "Green Component" : 0.82989895343780518
  433. },
  434. "HotKey Characters Ignoring Modifiers" : "n",
  435. "Status Bar Layout" : {
  436. "components" : [
  437. {
  438. "class" : "iTermStatusBarUsernameComponent",
  439. "configuration" : {
  440. "knobs" : {
  441. "path" : "username",
  442. "base: priority" : 5,
  443. "base: compression resistance" : 1,
  444. "shared text color" : {
  445. "Red Component" : 0.90000000000000002,
  446. "Color Space" : "sRGB",
  447. "Blue Component" : 0.63,
  448. "Alpha Component" : 1,
  449. "Green Component" : 0.63
  450. }
  451. },
  452. "layout advanced configuration dictionary value" : {
  453. "remove empty components" : false,
  454. "font" : ".AppleSystemUIFont 12",
  455. "algorithm" : 1,
  456. "auto-rainbow style" : 0
  457. }
  458. }
  459. },
  460. {
  461. "class" : "iTermStatusBarHostnameComponent",
  462. "configuration" : {
  463. "knobs" : {
  464. "path" : "hostname",
  465. "base: priority" : 5,
  466. "base: compression resistance" : 1,
  467. "shared text color" : {
  468. "Red Component" : 0.90000000000000002,
  469. "Color Space" : "sRGB",
  470. "Blue Component" : 0.63,
  471. "Alpha Component" : 1,
  472. "Green Component" : 0.76401818181818182
  473. }
  474. },
  475. "layout advanced configuration dictionary value" : {
  476. "remove empty components" : false,
  477. "font" : ".AppleSystemUIFont 12",
  478. "algorithm" : 1,
  479. "auto-rainbow style" : 0
  480. }
  481. }
  482. },
  483. {
  484. "class" : "iTermStatusBarWorkingDirectoryComponent",
  485. "configuration" : {
  486. "knobs" : {
  487. "path" : "path",
  488. "maxwidth" : 1.7976931348623157e+308,
  489. "base: priority" : 5,
  490. "minwidth" : 0,
  491. "shared text color" : {
  492. "Red Component" : 0.90000000000000002,
  493. "Color Space" : "sRGB",
  494. "Blue Component" : 0.63,
  495. "Alpha Component" : 1,
  496. "Green Component" : 0.89803636363636363
  497. },
  498. "base: compression resistance" : 1
  499. },
  500. "layout advanced configuration dictionary value" : {
  501. "remove empty components" : false,
  502. "font" : ".AppleSystemUIFont 12",
  503. "algorithm" : 1,
  504. "auto-rainbow style" : 0
  505. }
  506. }
  507. },
  508. {
  509. "class" : "iTermStatusBarSpringComponent",
  510. "configuration" : {
  511. "knobs" : {
  512. "iTermStatusBarSpringComponentSizeMultipleKey" : 1,
  513. "base: priority" : 5,
  514. "iTermStatusBarSpringComponentSpringConstantKey" : 0.01,
  515. "base: compression resistance" : 1,
  516. "shared text color" : {
  517. "Red Component" : 0.76794545454545449,
  518. "Color Space" : "sRGB",
  519. "Blue Component" : 0.63,
  520. "Alpha Component" : 1,
  521. "Green Component" : 0.90000000000000002
  522. }
  523. },
  524. "layout advanced configuration dictionary value" : {
  525. "remove empty components" : false,
  526. "font" : ".AppleSystemUIFont 12",
  527. "algorithm" : 1,
  528. "auto-rainbow style" : 0
  529. }
  530. }
  531. },
  532. {
  533. "class" : "iTermStatusBarSpringComponent",
  534. "configuration" : {
  535. "knobs" : {
  536. "iTermStatusBarSpringComponentSizeMultipleKey" : 1,
  537. "base: priority" : 5,
  538. "iTermStatusBarSpringComponentSpringConstantKey" : 0.01,
  539. "base: compression resistance" : 1,
  540. "shared text color" : {
  541. "Red Component" : 0.63392727272727267,
  542. "Color Space" : "sRGB",
  543. "Blue Component" : 0.63,
  544. "Alpha Component" : 1,
  545. "Green Component" : 0.90000000000000002
  546. }
  547. },
  548. "layout advanced configuration dictionary value" : {
  549. "remove empty components" : false,
  550. "font" : ".AppleSystemUIFont 12",
  551. "algorithm" : 1,
  552. "auto-rainbow style" : 0
  553. }
  554. }
  555. },
  556. {
  557. "class" : "iTermStatusBarComposerComponent",
  558. "configuration" : {
  559. "knobs" : {
  560. "base: priority" : 5,
  561. "base: compression resistance" : 1,
  562. "shared text color" : {
  563. "Red Component" : 0.63,
  564. "Color Space" : "sRGB",
  565. "Blue Component" : 0.76009090909090926,
  566. "Alpha Component" : 1,
  567. "Green Component" : 0.90000000000000002
  568. }
  569. },
  570. "layout advanced configuration dictionary value" : {
  571. "remove empty components" : false,
  572. "font" : ".AppleSystemUIFont 12",
  573. "algorithm" : 1,
  574. "auto-rainbow style" : 0
  575. }
  576. }
  577. },
  578. {
  579. "class" : "iTermStatusBarSpringComponent",
  580. "configuration" : {
  581. "knobs" : {
  582. "iTermStatusBarSpringComponentSizeMultipleKey" : 1,
  583. "base: priority" : 5,
  584. "iTermStatusBarSpringComponentSpringConstantKey" : 0.01,
  585. "base: compression resistance" : 1,
  586. "shared text color" : {
  587. "Red Component" : 0.63,
  588. "Color Space" : "sRGB",
  589. "Blue Component" : 0.89410909090909108,
  590. "Alpha Component" : 1,
  591. "Green Component" : 0.90000000000000002
  592. }
  593. },
  594. "layout advanced configuration dictionary value" : {
  595. "remove empty components" : false,
  596. "font" : ".AppleSystemUIFont 12",
  597. "algorithm" : 1,
  598. "auto-rainbow style" : 0
  599. }
  600. }
  601. },
  602. {
  603. "class" : "iTermStatusBarActionComponent",
  604. "configuration" : {
  605. "knobs" : {
  606. "base: priority" : 5,
  607. "base: compression resistance" : 1,
  608. "shared text color" : {
  609. "Red Component" : 0.63,
  610. "Color Space" : "sRGB",
  611. "Blue Component" : 0.90000000000000002,
  612. "Alpha Component" : 1,
  613. "Green Component" : 0.77187272727272704
  614. }
  615. },
  616. "layout advanced configuration dictionary value" : {
  617. "remove empty components" : false,
  618. "font" : ".AppleSystemUIFont 12",
  619. "algorithm" : 1,
  620. "auto-rainbow style" : 0
  621. }
  622. }
  623. },
  624. {
  625. "class" : "iTermStatusBarGitComponent",
  626. "configuration" : {
  627. "knobs" : {
  628. "maxwidth" : 1.7976931348623157e+308,
  629. "iTermStatusBarGitComponentPollingIntervalKey" : 2,
  630. "base: priority" : 5,
  631. "shared text color" : {
  632. "Red Component" : 0.63,
  633. "Color Space" : "sRGB",
  634. "Blue Component" : 0.90000000000000002,
  635. "Alpha Component" : 1,
  636. "Green Component" : 0.63785454545454534
  637. },
  638. "base: compression resistance" : 1,
  639. "minwidth" : 0
  640. },
  641. "layout advanced configuration dictionary value" : {
  642. "remove empty components" : false,
  643. "font" : ".AppleSystemUIFont 12",
  644. "algorithm" : 1,
  645. "auto-rainbow style" : 0
  646. }
  647. }
  648. },
  649. {
  650. "class" : "iTermStatusBarFixedSpacerComponent",
  651. "configuration" : {
  652. "knobs" : {
  653. "base: priority" : 5,
  654. "iTermStatusBarFixedSpacerComponentWidthKnob" : 5,
  655. "base: compression resistance" : 1,
  656. "shared text color" : {
  657. "Red Component" : 0.7561636363636367,
  658. "Color Space" : "sRGB",
  659. "Blue Component" : 0.90000000000000002,
  660. "Alpha Component" : 1,
  661. "Green Component" : 0.63
  662. }
  663. },
  664. "layout advanced configuration dictionary value" : {
  665. "remove empty components" : false,
  666. "font" : ".AppleSystemUIFont 12",
  667. "algorithm" : 1,
  668. "auto-rainbow style" : 0
  669. }
  670. }
  671. },
  672. {
  673. "class" : "iTermStatusBarMemoryUtilizationComponent",
  674. "configuration" : {
  675. "knobs" : {
  676. "base: priority" : 5,
  677. "shared text color" : {
  678. "Red Component" : 0.49688969875397015,
  679. "Color Space" : "sRGB",
  680. "Blue Component" : 0.66607427597045898,
  681. "Alpha Component" : 1,
  682. "Green Component" : 0.33942441307397075
  683. }
  684. },
  685. "layout advanced configuration dictionary value" : {
  686. "remove empty components" : false,
  687. "font" : ".AppleSystemUIFont 12",
  688. "algorithm" : 1,
  689. "auto-rainbow style" : 0
  690. }
  691. }
  692. },
  693. {
  694. "class" : "iTermStatusBarClockComponent",
  695. "configuration" : {
  696. "knobs" : {
  697. "format" : "M\/dd h:mm",
  698. "base: priority" : 5,
  699. "maxwidth" : 1.7976931348623157e+308,
  700. "minwidth" : "0",
  701. "shared text color" : {
  702. "Red Component" : 0.62999999523162831,
  703. "Color Space" : "sRGB",
  704. "Blue Component" : 0.7951181867304058,
  705. "Alpha Component" : 1,
  706. "Green Component" : 0.89999997615814209
  707. },
  708. "base: compression resistance" : 1,
  709. "localize" : 1
  710. },
  711. "layout advanced configuration dictionary value" : {
  712. "remove empty components" : false,
  713. "font" : ".AppleSystemUIFont 12",
  714. "algorithm" : 1,
  715. "auto-rainbow style" : 0
  716. }
  717. }
  718. }
  719. ],
  720. "advanced configuration" : {
  721. "remove empty components" : false,
  722. "font" : ".AppleSystemUIFont 12",
  723. "algorithm" : 1,
  724. "auto-rainbow style" : 0
  725. }
  726. },
  727. "Blur" : true,
  728. "HotKey Characters" : "\u000e",
  729. "Terminal Type" : "xterm-256color",
  730. "Ansi 13 Color" : {
  731. "Red Component" : 0.78096956014633179,
  732. "Color Space" : "Calibrated",
  733. "Blue Component" : 0.53848373889923096,
  734. "Alpha Component" : 1,
  735. "Green Component" : 0.43883562088012695
  736. },
  737. "Link Color" : {
  738. "Red Component" : 0.27058823529411763,
  739. "Color Space" : "sRGB",
  740. "Blue Component" : 0.52941176470588236,
  741. "Alpha Component" : 1,
  742. "Green Component" : 0.51764705882352946
  743. },
  744. "Ansi 5 Color" : {
  745. "Red Component" : 0.69019607843137254,
  746. "Color Space" : "sRGB",
  747. "Blue Component" : 0.52156862745098043,
  748. "Alpha Component" : 1,
  749. "Green Component" : 0.38039215686274508
  750. },
  751. "Ansi 11 Color" : {
  752. "Red Component" : 0.96949708461761475,
  753. "Color Space" : "Calibrated",
  754. "Blue Component" : 0.1444794088602066,
  755. "Alpha Component" : 1,
  756. "Green Component" : 0.6926688551902771
  757. },
  758. "AWDS Pane Directory" : ""
  759. }
  760. ]
  761. }

zsh 配置

export PATH=$HOME/bin:/usr/local/bin:$PATH
export TERM='xterm-256color'
export LANG=zh_CN.UTF-8
export PATH="/usr/local/opt/python@3.10/bin:$PATH"

ZSH_THEME="gruvbox"
export ZSH="$HOME/.oh-my-zsh"
zstyle ':omz:update' mode auto      # update automatically without asking
plugins=(
    git
    node
    npm
    yarn
    screen
    docker
    docker-compose
)
source $ZSH/oh-my-zsh.sh

# User configuration
alias zshconfig="vim ~/.zshrc"
alias configzsh="source ~/.zshrc"
alias surge="export https_proxy=http://127.0.0.1:6152;export http_proxy=http://127.0.0.1:6152;export all_proxy=socks5://127.0.0.1:6153"
alias cls='tput reset'
alias egrep='egrep -G'
alias fgrep='fgrep -G'
alias grep='grep -G'
alias l.='ls -d .* -G'
alias ll='ls -l -G'
alias ls='ls -la -G'
alias vi='vim'
alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'
alias c="clear"
alias ...="cd ../../"
alias ....="cd ../../../"
alias mkdir="mkdir -p"
alias cp="cp -rf"
alias rm="rm -rf"
alias wechat="open /Applications/WeChat.app"
alias bob="open /Applications/Bob.app"
alias meeting="open /Applications/TencentMeeting.app"
alias lemon="open /Applications/Tencent\ Lemon.app"
alias qq="open /Applications/QQ.app"
alias qqmusic="open /Applications/QQMusic.app"
alias music="open /System/Applications/Music.app"
alias calculator="open /System/Applications/Calculator.app"
alias mail="open /System/Applications/Mail.app"
alias maps="open /System/Applications/Maps.app"
alias notes="open /System/Applications/Notes.app"
alias photos="open /System/Applications/Photos.app"
alias findmy="open /System/Applications/FindMy.app"
alias setting="open /System/Applications/System\ Preferences.app"
alias findmy="open /System/Applications/FindMy.app"
alias chrome="open /Applications/Google\ Chrome.app"

test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"

vim 配置

set autoindent
syntax on
set nu
set ruler
set tabstop=4
set shiftwidth=4
set mouse=a
set clipboard+=unnamed
set backspace=indent,eol,start
set nocompatible
call plug#begin('~/.vim/plugged')
Plug 'flazz/vim-colorschemes'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'fatih/vim-go', { 'do': ':GoInstallBinaries' }
Plug 'tomlion/vim-solidity'
Plug 'Yggdroot/LeaderF'
call plug#end()
"colo hybrid
"colo gruvbox
"colo monokai
colo happy_hacking
"encoding
set fileencodings=utf-8,gb2312,gb18030,gbk,ucs-bom,cp936,latin1
set enc=utf8
set fencs=utf8,gbk,gb2312,gb18030
"auto author
function AutoJava()
    call append(0, "/**")
    call append(1, " *@author mercutio")
    call append(2, " *@version ".expand("%:t").", v0.1 ".strftime("%Y-%m-%d %H:%M")." mercutio")
    call append(3, " */")
    normal G
    normal o
endf
autocmd bufnewfile *.java call AutoJava()

function AutoShell()
    call setline(1, "#!/bin/bash")
    normal G
    normal o
endf
autocmd bufnewfile *.sh call AutoShell()
"netrw
let g:netrw_liststyle=3
"leaderf
let mapleader=','
nnoremap <silent> <leader>f :Leaderf file<CR>
nnoremap <silent> <leader>F :LeaderfFunction<CR>
nnoremap <silent> <leader>rg :Leaderf rg<CR>
let g:Lf_WindowPosition = 'popup'
let g:Lf_PreviewInPopup = 1
let g:Lf_DefaultExternal = 'rg'
" gtags
if has("multi_byte")
  set encoding=utf-8
  set termencoding=utf-8
  set formatoptions+=mM
endif

set cscopetag
set cscopeprg=gtags-cscope
cs add GTAGS
if has("termguicolors")
    set t_8f=[38;2;%lu;%lu;%lum
    set t_8b=[48;2;%lu;%lu;%lum
    set termguicolors
endif
" Use `[g` and `]g` to navigate diagnostics
" Use `:CocDiagnostics` to get all diagnostics of current buffer in location list.
nmap <silent> [g <Plug>(coc-diagnostic-prev)
nmap <silent> ]g <Plug>(coc-diagnostic-next)

" GoTo code navigation.
nmap <silent> gd <Plug>(coc-definition)
nmap <silent> gy <Plug>(coc-type-definition)
nmap <silent> gi <Plug>(coc-implementation)
nmap <silent> gr <Plug>(coc-references)