Skip to content

Commit

Permalink
Merge pull request #710 from VSCodeVim/hotfix-remapping
Browse files Browse the repository at this point in the history
Hotfix remapping
  • Loading branch information
johnfn authored Sep 4, 2016
2 parents 7cef0f8 + 647d194 commit d5d8dc7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Vim",
"description": "Vim emulation for Visual Studio Code",
"icon": "images/icon.png",
"version": "0.1.7",
"version": "0.1.8",
"publisher": "vscodevim",
"galleryBanner": {
"color": "#a5c9a2",
Expand Down Expand Up @@ -165,9 +165,9 @@
"description": "Enable some vim ctrl key commands that override otherwise common operations, like ctrl+c"
},
"vim.useSystemClipboard": {
"type": "boolean",
"description": "Use system clipboard for unnamed register.",
"default": false
"type": "boolean",
"description": "Use system clipboard for unnamed register.",
"default": false
},
"vim.insertModeKeyBindings": {
"type": "array",
Expand Down
2 changes: 1 addition & 1 deletion src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function translateToAngleBracketNotation(key: string): string {
};

key = key.toLowerCase();
if (!(key.startsWith('<') && key.endsWith('>'))) {
if (!(key.startsWith('<') && key.endsWith('>')) && key.length > 1) {
key = `<${ key }>`;
}

Expand Down

0 comments on commit d5d8dc7

Please sign in to comment.