Hotkey to end the line with a semicolon and jump to a new line in Sublime Text 2

后端 未结 6 1980
粉色の甜心
粉色の甜心 2021-01-30 13:50

I\'m trying to figure out a hotkey at work. I just got this job and I am using a Mac for more or less the first time in my life.

Back home on my Laptop, when using Eclip

6条回答
  •  北恋
    北恋 (楼主)
    2021-01-30 14:24

    @Felipe covered the second point. You can mimic the behavior of the first with a simple macro or plugin. I say or because you didn't describe the cursor position after you hit the key combination. Does it move the cursor to the next line? Does it insert a new line? I think you get the idea.

    I'm pretty sure eclipse works on OS X as well as windows, so if you are more comfortable with that, why not use it (unless your job requires ST of course)? Most of the key bindings are probably the same/similar (well it's probably command rather than control for shortcuts).

    http://www.eclipse.org/downloads/?osType=macosx

    If you continue using ST, it's probably worthwhile to learn the basics of plugins. A lot can be built so you have the same behavior as other editors, it just takes some extra effort (through creating the plugin or finding a plugin that does it) up front.

提交回复
热议问题