This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // === 光标移动(包括选中) === | |
| { "key": "ctrl+a", "command": "cursorHome", "when": "textInputFocus" }, | |
| { "key": "ctrl+a", "command": "cursorHomeSelect", "when": "textInputFocus && selectionAnchorSet" }, | |
| { "key": "ctrl+e", "command": "cursorEnd", "when": "textInputFocus" }, | |
| { "key": "ctrl+e", "command": "cursorEndSelect", "when": "textInputFocus && selectionAnchorSet" }, | |
| { "key": "ctrl+shift+,", "command": "cursorTop", "when": "textInputFocus" }, | |
| { "key": "ctrl+shift+,", "command": "cursorTopSelect", "when": "textInputFocus && selectionAnchorSet" }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias m6pwd="rlwrap python -m minghu6.tools.pwd_keeper" | |
| alias pm="rlwrap python -m" | |
| alias m6ff="python -m minghu6.tools.ff" | |
| alias m6uuid="python -m minghu6.tools.path2uuid" | |
| alias m6auto_resume="python -m minghu6.tools.auto_resume" | |
| alias m6text="pm minghu6.tools.text" | |
| alias ssd="sudo sslocal -c ~/.shadowsocks.json --log-file ~/log/shadowsocks.log -d start" | |
| alias ccl="rlwrap ~/coding/CL/official-repos/ccl-dev/ccl/lx86cl64" | |
| alias antlr4='java -Xmx500M -cp "/usr/local/lib/antlr-4.9.2-complete.jar:$CLASSPATH" org.antlr.v4.Tool' | |
| alias grun='java -Xmx500M -cp "/usr/local/lib/antlr-4.9.2-complete.jar:$CLASSPATH" org.antlr.v4.gui.TestRig' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # pr joker1 | |
| review_queue = PRQ.new | |
| mypr = :mypr | |
| while conflict? review_queue.wait(mypr) | |
| fix_and_rebase mypr | |
| review_queue.push mypr | |
| end |