Skip to content

Instantly share code, notes, and snippets.

View hsiafan's full-sized avatar

Dong Liu hsiafan

  • Beijing
View GitHub Profile
@hsiafan
hsiafan / git proxy setting
Last active March 27, 2023 06:21
git proxy
# git 两种模式:SSH 、HTTP
# proxy 两种模式:SOCKS 、HTTP
# 两两组合,共 4 种设置,请按需正确配置:
# 1. git http + proxy http
git config --global http.proxy "http://127.0.0.1:1080"
git config --global https.proxy "http://127.0.0.1:1080"
# 2. git http + proxy socks
[
{ "keys": ["alt+f12"],
"command": "toggle_terminus_panel",
"cwd": "${file_path:${folder}}"
},
{ "keys": ["super+y"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} },
{ "keys": ["super+d"], "command": "duplicate_line" },
{ "keys": ["super+shift+up"], "command": "swap_line_up" },
{ "keys": ["super+shift+down"], "command": "swap_line_down" },
{ "keys": ["super+backspace"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} },