1
1
mirror of https://github.com/kahole/edamagit.git synced 2024-09-11 07:15:31 +03:00

changes default top-level keybindings, fixes #14

This commit is contained in:
kahole 2020-03-23 22:22:09 +01:00
parent 69299f44ef
commit 89aac35fdc
3 changed files with 20 additions and 22 deletions

View File

@ -1,5 +1,19 @@
# Change Log
### 0.1.2
- Interactive rebasing
- **Changed default top-level keybindings to avoid hijacking CUT shortcut on Linux and Windows**
New defaults are:
```
status = alt+x g
file popup = alt+x alt+g
dispatch = alt+x ctrl+g
```
- More colors
### 0.1.1
- Reverse-at-point
- Cherry pick --edit

View File

@ -21,9 +21,9 @@
| VSCode Commands | Default shortcut |
|---------------------|------------------|
| Magit Status | `ctrl+x g` |
| Magit File Popup | `ctrl+x ctrl+g` |
| Magit Dispatch | `ctrl+x alt+g` |
| Magit Status | `alt+x g` |
| Magit File Popup | `alt+x alt+g` |
| Magit Dispatch | `alt+x ctrl+g` |
| Help (when in magit)| `?` |
Keybindings
@ -83,22 +83,6 @@ Add these to your `keybindings.json` config file
"when": "editorTextFocus && editorLangId == 'magit'"
}
```
and if you have Vim ctrl keys enabled `"vim.useCtrlKeys"`, you **might** need to add these to your `keybindings.json` to overpower Vim
```json
{
"command": "magit.status",
"key": "ctrl+x g"
},
{
"command": "magit.dispatch",
"key": "ctrl+x alt+g"
},
{
"command": "magit.file-popup",
"key": "ctrl-x ctrl+g"
}
```
## Roadmap

View File

@ -323,15 +323,15 @@
"keybindings": [
{
"command": "magit.status",
"key": "ctrl+x g"
"key": "alt+x g"
},
{
"command": "magit.dispatch",
"key": "ctrl+x alt+g"
"key": "alt+x ctrl+g"
},
{
"command": "magit.file-popup",
"key": "ctrl+x ctrl+g"
"key": "alt+x alt+g"
},
{
"command": "magit.toggle-fold",