Skip to content

Instantly share code, notes, and snippets.

@rafaltrojanowski
Last active September 26, 2019 07:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rafaltrojanowski/ecdbdc23fd70f0561ae44baab06290b4 to your computer and use it in GitHub Desktop.
Save rafaltrojanowski/ecdbdc23fd70f0561ae44baab06290b4 to your computer and use it in GitHub Desktop.
Vim -> VSCode migration
1. Install vscodevim
2. Run from terminal:
defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false # Key repeat
3. jj:
Add to settings.json:
"vim.insertModeKeyBindings": [
{
"before": ["j", "j"],
"after": ["<Esc>"]
}
]
4. Support Git commands like Gread from fugitive. # Built in (See Source Control in Sidebar)
5. Focus on project tree shortcut. # ??
6. Tab in normal mode should make intendation. # Use CMD+]
See: https://github.com/VSCodeVim/Vim/issues/1210#issuecomment-393973125
7. Ruby method, Class and Module autocompletion
https://stackoverflow.com/questions/46300148/how-to-make-vscode-automatically-insert-end-on-enter-press-after-do#comment102575697_46300241
8. Run from terminal:
https://stackoverflow.com/a/36882426/1590134
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment