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

Idea: type common/useful command combos to gain speed #91

Open
wuilliam321 opened this issue Aug 29, 2020 · 1 comment
Open

Idea: type common/useful command combos to gain speed #91

wuilliam321 opened this issue Aug 29, 2020 · 1 comment

Comments

@wuilliam321
Copy link

Inspiration:

I'm new with dvorak, I'm new with vim. All games are useful for me, but still need to get familiar with something like this:

// Imagine you want to write a simple function
function foo() {
  return "bar";
}

Quite simple but, I needed to learn (improve my muscle memory) to do:

  1. Press i (or o)
  2. Write function as fast as possible (ignore the function name)
  3. Add a pair of ( and ) plus a space plus a { as fast as possible
  4. Now one of the most challenging one (for me): add an enter, add }, press Ctrl+c then Shift+o and finally write the return statement

The same for classes, types, arrow functions, reserved words...

The main goal is to get better with that kind of vim command sequences Ctrl+c Shift+o, Ctrl+c :w, and commonly used chars like $+[{(&=)}]*!|/@-\?^_#. You all have way more experience with vim and could give me more suggestions.

I'll be working on it to learn how to write a plugin, and to get better with the real-programmer-dvorak layout xD

@ThePrimeagen
Copy link
Owner

@wuilliam321 I am going to be creating a Kata gameplay coming up. This may address some of what you are talking about. Obvi, not all of this can be addressed, but there could be significant amount that can be.

Stay tuned :)

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

No branches or pull requests

2 participants