Skip to content

Commit

Permalink
Merge pull request #159 from kasecato/#149/cursorTopBottom
Browse files Browse the repository at this point in the history
Add cursorTop + cursorBottom #149 #154
  • Loading branch information
kasecato authored Oct 22, 2019
2 parents b527026 + 1de153c commit 08b9a62
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## 0.2.35 (Oct 22, 2019)

* enhancement - ctrl + home mapping for macOS. See [#149](https://github.com/kasecato/vscode-intellij-idea-keybindings/issues/149)
* enhancement - [navigation] cursorTop + cursorBottom. See [#154](https://github.com/kasecato/vscode-intellij-idea-keybindings/issues/154)

## 0.2.34 (July 9, 2019)

* bug fix - ctrl+f has no "when" so always searches in editor, so finding in terminal / webview is clobbered. See [#153](https://github.com/kasecato/vscode-intellij-idea-keybindings/issues/153)
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ ctrl+0 | ctrl+0 | Go to numbered bookmark | N/A
shift+f11 | cmd+f3 | Show bookmarks | N/A
ctrl+alt+shift+down | ctrl+alt+shift+down | Next Change | ✅
ctrl+alt+shift+up | ctrl+alt+shift+up | Previous Change | ✅
ctrl+home | cmd+home | Move Caret to Text Start | ✅
ctrl+end | cmd+end | Move Caret to Text End | ✅

### Refactoring

Expand Down
17 changes: 15 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@
"url": "https://github.com/kasecato/vscode-intellij-idea-keybindings/issues"
},
"contributes": {
"keybindings": [
{
"keybindings": [{
"key": "ctrl+shift+enter",
"mac": "cmd+shift+enter",
"command": "acceptSelectedSuggestion",
Expand Down Expand Up @@ -747,6 +746,20 @@
"apply": "ifSingle"
}
},
{
"key": "ctrl+home",
"mac": "cmd+home",
"command": "cursorTop",
"when": "textInputFocus",
"intellij": "Move Caret to Text Start"
},
{
"key": "ctrl+end",
"mac": "cmd+end",
"command": "cursorBottom",
"when": "textInputFocus",
"intellij": "Move Caret to Text End"
},
{
"key": "ctrl+alt+k",
"mac": "cmd+k",
Expand Down
14 changes: 14 additions & 0 deletions src/package-with-comment.json
Original file line number Diff line number Diff line change
Expand Up @@ -1191,6 +1191,20 @@
"when": "editorTextFocus",
"intellij": "Previous Change"
},
{
"key": "ctrl+home",
"mac": "cmd+home",
"command": "cursorTop",
"when": "textInputFocus",
"intellij": "Move Caret to Text Start"
},
{
"key": "ctrl+end",
"mac": "cmd+end",
"command": "cursorBottom",
"when": "textInputFocus",
"intellij": "Move Caret to Text End"
},
/*---------------------------------------------------------------*\
* Refactoring
\*---------------------------------------------------------------*/
Expand Down

0 comments on commit 08b9a62

Please sign in to comment.