1、vi term
ctrl+a 跳轉(zhuǎn)到行首
ctrl+e 跳轉(zhuǎn)到行尾
設(shè)置背景透明:
cmd+, profiles ( window , Transparency )
2掀泳、phpstorm
JS \ JSON 格式化: option + cmd + L
3、sublime text
JS \ JSON \ CSS 格式化(Alignment): shift + cmd + H
其他常用設(shè)置
1\配置chrome-實(shí)現(xiàn)跨域
open -a "Google Chrome" --args --disable-web-security --user-data-dir
設(shè)置成功提示(最好先把瀏覽器關(guān)了)
遇到 Https 證書(shū) 沒(méi)有授權(quán)的問(wèn)題靖诗。這些問(wèn)題在goolge 的 chrome 瀏覽器下都可以解決的硕淑, 方法是:
用命令行打開(kāi) Google Chrome 就好了
Mac os 下面用
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --disable-web-security
或者
open -a "Google Chrome" --args --disable-web-security
Ubuntu?Linux:
chromium-browser --disable-web-security
**windows **
chrome.exe --disable-web-security
safari
用命令行打開(kāi) Apple Safafi 方法是:
Mac OS 下:
open -a '/Applications/Safari.app' --args --disable-web-security