Skip to content

Commit

Permalink
fix: mapped cmd+j keybinding for Mac users
Browse files Browse the repository at this point in the history
  • Loading branch information
wmaurer committed Nov 28, 2015
1 parent 94d15d3 commit bcf05ca
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Feature Overview

Use Ctrl-j | ⌘-j to join lines, just like in Atom and similar to Sublime Text: the next line is joined to
Use Ctrl+j | ⌘+j to join lines, just like in Atom and similar to Sublime Text: the next line is joined to
the current line, and all whitespace is replaced with a single space.

![join-lines-preview](https://cloud.githubusercontent.com/assets/2899448/11255751/36ee036a-8e48-11e5-8e1f-8889bf2df026.gif)
Expand All @@ -20,3 +20,7 @@ of the original line (minus whitespace)
* If text is selected, and it spans multiple lines, the selected lines are joined, and the selection is retained (minus whitespace)

Multiple selections are also supported.

## Support

[Create an issue](https://github.com/wmaurer/vscode-join-lines/issues), or ping [@waynemaurer](https://twitter.com/waynemaurer) on Twitter.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"homepage": "https://github.com/wmaurer/vscode-join-lines/blob/master/README.md",
"license": "MIT",
"version": "0.1.3",
"version": "0.1.4",
"publisher": "wmaurer",
"engines": {
"vscode": "^0.10.0"
Expand All @@ -38,6 +38,10 @@
{
"command": "extension.join-lines",
"key": "ctrl+j"
},
{
"command": "extension.join-lines",
"key": "cmd+j"
}
]
},
Expand Down

0 comments on commit bcf05ca

Please sign in to comment.