问题
this is my first time using an IDE. I was wondering if its possible, as I've done in vim with imap, to make it so that when I press tab 4 spaces are produced in the editor. If this is possible, please point me how to do it. I'm not super familiar with key symbols so please be as explicit a possible; I poked around the keymap under settings but it was pretty confusing.
回答1:
You can customize the Tab size in Pycharm. Goto Preference --> Editor --> Code Style --> Python.
来源:https://stackoverflow.com/questions/47102828/is-it-possible-in-pycharm-to-map-a-tab-to-produce-4-spaces-if-so-how