Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix remapping #710

Merged
merged 2 commits into from
Sep 4, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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