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

Support << and >> #32

Merged
merged 3 commits into from
Nov 26, 2015
Merged

Support << and >> #32

merged 3 commits into from
Nov 26, 2015

Conversation

jpoon
Copy link
Member

@jpoon jpoon commented Nov 25, 2015

Small PR that adds support for >> and <<.


console.log(keys);
if (this.keyHandler[key] !== undefined) {
// Bug: 'two characters does not work'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a bug right now where for some reason, I can't build a key with more than one chars.

@jpoon jpoon force-pushed the indent_commands branch 3 times, most recently from 0afa535 to 80da17a Compare November 25, 2015 23:42
@jpoon jpoon changed the title Indendation (<< and >>) Support << and >> Nov 25, 2015
case 'l':
vscode.commands.executeCommand("cursorRight");
var keyHandled = false;
for (var window = 0; window <= this.keyHistory.length; window++) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use let here because that's the intent?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, habit. Should be adopting let.

jpoon added a commit that referenced this pull request Nov 26, 2015
@jpoon jpoon merged commit 7269052 into master Nov 26, 2015
@jpoon jpoon deleted the indent_commands branch November 26, 2015 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants