If you are a user who uses emacs on a daily basis but writes python in Sublime Text, you may lose it if you do not know it, so I will summarize it briefly. (Because I'm a mac user, I can't verify windows, but it should have the same function.)
You can select any location with command + left click, and you can add or edit characters there. I don't know how to do this with emacs. Very convenient!
For example, after writing a character string, if you want to add a line break to all, you can enter the character by selecting the place you want to insert with ⌘ + left click.
Rectangle (short) choices aren't just for emacs. "Hold Opt and left-click and drag" Then you can select in the rectangular area. Of course, you can delete it with del after this, or replace it with a string.
--Reference page: https://qiita.com/seafield1979/items/56d4833dae818dcf85ae
This is a problem not limited to sublime Text, but it is caused by "mixing soft tabs and hard tabs". The reason why sublime Text is a problem is that by default it is a tab with 4 spaces, so it looks like it is indented. For example, a common pattern. If you look at emacs, you can see that they are clearly out of alignment, but with sublime Text, they seem to be aligned (this depends on the settings).
The solution is simple, ** "Select all and check for mixed dots (....) and dashes (----)" ** in one shot.
--Reference: https://www.sejuku.net/blog/86942
It may be hard for emacs users to remember, but you can replace it with "Cmd + Opt + F". There is a way to change the settings to emacs style.
--Reference: https://qiita.com/fujimohige/items/feb915c55a034029e513
Recommended Posts