From Emacs to VSCode on OSX
1 min readSep 19, 2022
I have been using Emacs for over 20 years, but over the past years, it has become increasingly difficult to get my emacs environment properly working for Python. I felt jealous at all the auto-completion and built-in documentation features that students fresh out of uni got out of more modern editors. So I switched to Visual Studio Code.
Here are notes on how I set VSCode up to make me feel (almost) like on Emacs. Those notes apply to version 1.70.2 of VSCode, on OSX.
- Download VSCode
- Install the extension 'Awesome Emacs Keymaps' (code > preferences > extensions > search for 'awesome emacs' and click install)
- Choose a color theme: meta k meta t (for kolor theme?). I use 'light +'
- Turn on auto-trimming of whitespaces and newlines: code > preferences > settings > user > text editor > files, and check the 2 corresponding boxes
- Turn on native tabs: code > preferences > settings > user > window