- editor moving and splitting
- focus around
ctrl + shift + hjkl(and changectrltocommandin MacOS) - move editor around
ctrl + shift + alt + hjkl(and changectrltocommandin MacOS)
- focus around
- quick moving and slow moving
- quick:
shift + jk=10j10k,shift + hl=^$ - slow:
ctrl + jk=gjgk,ctrl + hl=g^g$(used for one long line displayed as multiple line, usually in markdown)
- quick:
- tabbing:
tabshift + tab=>><< - goTos:
ga=editor.action.goToImplementation(useful with the defaultgdghcommand)
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
| package verify | |
| import ( | |
| "testing" | |
| "github.com/ethereum/go-ethereum/accounts" | |
| "github.com/ethereum/go-ethereum/common" | |
| "github.com/ethereum/go-ethereum/common/hexutil" | |
| "github.com/ethereum/go-ethereum/crypto" | |
| "github.com/stretchr/testify/assert" |
My config files under ~/.config/ for Python that exactly match yapf styles for Google open source projects.
The yapf config file style is under ~/.config/yapf/
You could modify these files, or use it in your project instead of use it globally.
Pylint configuration file paths 1
Pylint will search it's configuration in the following manner:
Footnotes
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
| { | |
| "[python]": { | |
| "gitlens.codeLens.symbolScopes": [ | |
| "!Module" | |
| ], | |
| "editor.insertSpaces": true, | |
| "editor.tabSize": 2, | |
| "editor.wordBasedSuggestions": false, | |
| "editor.formatOnSave": true, | |
| "editor.defaultFormatter": "ms-python.python", |
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] | |
| br = branch | |
| ch = checkout | |
| cr = cherry-pick | |
| tmp = "!git add . && git commit -m 'temp'" | |
| rst = reset HEAD~ | |
| masterhead = "!git rev-parse --abbrev-ref origin/HEAD" | |
| prevhead = "!git rev-parse --symbolic-full-name --abbrev-ref=loose @{-1}" | |
| up = "!git fetch origin && git rebase $(git masterhead)" | |
| rebi = "!git rebase -i $(git masterhead)" |
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
| /** | |
| * A class that help for organizing async works. | |
| * | |
| * @author RyoJerryYu | |
| * @date 2021/6/11 9:14 | |
| */ | |
| public class AsyncWorkflow { | |
| Queue<AsyncWork> queue; | |
| public enum State {PREPARING, EXECUTING, FINISHED} |