https://github.com/zardoy/vscode-keybindings
My opinionated shared keybindings for VSCode
https://github.com/zardoy/vscode-keybindings
Last synced: 8 months ago
JSON representation
My opinionated shared keybindings for VSCode
- Host: GitHub
- URL: https://github.com/zardoy/vscode-keybindings
- Owner: zardoy
- License: mit
- Created: 2021-08-04T05:24:30.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-12-27T07:36:06.000Z (over 3 years ago)
- Last Synced: 2023-03-03T21:14:00.361Z (over 3 years ago)
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=zardoy.keybindings
- Size: 107 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# Zardoy Keybindings
> I actually didn't find the better name.
Sometimes mac and win have different keys, but in most of cases CTRL = CMD.
## Important Defaults
- Never Close Windows on `CTRL+W`
- `CTRL+N`: Create file **always** in explorer. It means, that you need to **first name it** and only then you can write code.
- `CTRL+SHIFT+D`: Duplicate line, because default shortcuts with arrows are bad.
- `CTRL+K S`: Start main NPM script (`start`, `dev`, `watch` etc). (for save all use `alt+ctrl+s`)
- CTRL+U and CTRL+J reassigned to match better terminal workflow (`CTRL+J` for toggling visibility only, focus always on editor)
## What's New
These are less important.
- `alt+cmd+S or ctrl+alt+s`: Save all files. Because we don't have built-in key.
- `ctrl+k ctrl+b`: Toggle sidebar. `ctrl+b` won't work in `.MD` files with Markdown extension.
- (mac) `alt+escape` Show parameter hints (to trigger autocomplete: `CMD+I`)
## Keybindings to Remove
- tab: acceptSelectedSuggestion
- tab: insertSnippet
- ctrl+': editor.togglequotes
- ctrl+shift+t: surround.with
- Ctrl+/ new typescript import – I reassigned it also because I often misclick that button, because of one-level enter. I don't really use this shortcut right now.
## Extension Shortcuts
- transpose: v4run.transpose
- [GitHub Manager](https://github.com/zardoy/github-manager)
- [Extra Commands](https://github.com/zardoy/extra-commands)
- [NPM THE FASTEST](https://github.com/zardoy/npm-the-fastest)
- Change Case menus: hjdarnel.vscode-change-case
- CMD+1: Surround
## TODO
npm start script
npm scripts
npm deps view (install?)