Last active
September 26, 2019 07:37
-
-
Save rafaltrojanowski/ecdbdc23fd70f0561ae44baab06290b4 to your computer and use it in GitHub Desktop.
Vim -> VSCode migration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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