# personal-misc **Repository Path**: mrlong123/personal-misc ## Basic Information - **Project Name**: personal-misc - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2021-09-23 - **Last Updated**: 2021-09-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # personal-misc > Just something miscellaneous. ## `~/.bashrc` Save [bashrc](.bashrc) as `~/.bashrc`. ## `~/.vimrc` To restore `.vimrc` and `git clone` needed plugins automatically, just run: ```bash ./vimrc.sh ``` ## `~/.minttyrc` (windows) Save [minttyrc](./minttyrc) as `~/.minttyrc`, used on `windows` when [Git for Windows](https://git-scm.com/download/win) installed. ## `~/.prettierrc` Save [`prettierrc`](./prettierrc) as `~/.prettierrc` for global use. Save [`prettierrc`](./prettierrc) as `${workspaceFolder}/.prettierrc` for project only. ## vs code - `~/.config/Code/User/settings.json` - `~/.config/Code/User/keybindings.json` ```json // Place your key bindings in this file to override the defaults [ { "key": "shift+alt+down", "command": "editor.action.copyLinesDownAction", "when": "editorTextFocus && !editorReadonly" }, { "key": "ctrl+shift+alt+down", "command": "-editor.action.copyLinesDownAction", "when": "editorTextFocus && !editorReadonly" }, { "key": "shift+alt+up", "command": "editor.action.copyLinesUpAction", "when": "editorTextFocus && !editorReadonly" }, { "key": "ctrl+shift+alt+up", "command": "-editor.action.copyLinesUpAction", "when": "editorTextFocus && !editorReadonly" } ] ``` - `~/.config/Code/User/snippets/async-catch.code-snippets` ```json { // Place your personal-misc workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and // description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope // is left empty or omitted, the snippet gets applied to all languages. The prefix is what is // used to trigger the snippet and the body will be expanded and inserted. Possible variables are: // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. // Placeholders with the same ids are connected. // Example: "Async func with trycatch": { "scope": "javascript,typescript", "prefix": "async-catch", "body": [ "async function ${1:fname}() {", "\ttry {", "\t\t${2:// Your code.}", "\t} catch (err) {", "\t\tthrow new Error(err)", "\t}", "}" ], "description": "Async func with trycatch" } } ``` ## License License under the [MIT](./LICENSE.md).