How to surround selected text in PyCharm like with Sublime Text December 17, 2022 by Tarik I think you want something like Settings | Editor | General | Smart Keys -> Surround selection on typing quote or brace