Home Download Buy Blog Forum Support

Can someone give me a run down of the shortcuts they use?

Can someone give me a run down of the shortcuts they use?

Postby vlad on Mon Dec 19, 2011 3:35 am

Hello, I recently upgraded from using a full-blown IDE to just sublimetext and I've been a happy user for some time.

I'm not an expert coder by any means, but I write in ruby and as of recent some C#. Even when I was using the IDE I *never* freaking used any shortcuts. I know it's a sin and I should do something about it so I would love it if you guys could give me the lists of what you think are your most used (and useful) shortcuts. Even if it's not a sublime-text specific thing but rather a habit you have that helps increasing productivity, I'd love to hear it!

Thanks.
vlad
 
Posts: 1
Joined: Mon Dec 19, 2011 3:31 am

Re: Can someone give me a run down of the shortcuts they use?

Postby iamntz on Mon Dec 19, 2011 4:56 am

:o :o :o
:shock: :shock: :shock:

How the hell you can live without using any shortcuts? Did you used your keyboard at all?

Anyhow, here are three useful shortcuts: ctrl+c / ctrl+x / ctrl+v (copy/cut/paste) :D
iamntz
 
Posts: 915
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: Can someone give me a run down of the shortcuts they use?

Postby skaet on Mon Dec 19, 2011 7:00 am

ctrl+m - jump to bracket
ctrl+shift+m - expand selection to bracket
ctrl+d - expand selection to word, multiple commands will select the next instance of the word
ctrl+shift+j - expand selection to indentation (I have impeccable code formatting)
shift+delete - cut the current line
ctrl+j - join lines together
ctrl+/ and ctrl+shift+/ - toggle comment line/comment block

I think my mouse is feeling a little neglected.
skaet
 
Posts: 93
Joined: Thu Sep 16, 2010 3:37 pm

Re: Can someone give me a run down of the shortcuts they use?

Postby jbrooksuk on Mon Dec 19, 2011 10:29 am

  • Ctrl+P - Go To
  • Ctrl+Shift+Up/Down - Move line up or down
  • Alt+Shift+W - Wrap in tag

I can't even remember the rest, they're just so natural.
jbrooksuk
 
Posts: 775
Joined: Sun Apr 11, 2010 10:37 am
Location: England

Re: Can someone give me a run down of the shortcuts they use?

Postby alexrussell on Mon Dec 19, 2011 1:21 pm

I also don't use as many as I should, but I'd add the following to jbrooksuk's list:

ctrl+shift+d : duplicate line (although I remapped it to ctrl + d)
alt+. : close tag

I also use the alignment plugin, and have "align my stuff" on ctrl+shift+a
Similarly I have dom111's toggle quotes plugin (http://dom111.co.uk/files/sublime/plugi ... _quotes.py) attached to ctrl+shift+' (which, interestingly, has to be specified as ctrl+shift+`)
alexrussell
 
Posts: 74
Joined: Fri Jul 15, 2011 9:06 am

Re: Can someone give me a run down of the shortcuts they use?

Postby moonlina on Mon Dec 26, 2011 4:43 pm

skaet wrote:ctrl+m - jump to bracket
ctrl+shift+m - expand selection to bracket
ctrl+d - expand selection to word, multiple commands will select the next instance of the word
ctrl+shift+j - expand selection to indentation (I have impeccable code formatting)
shift+delete - cut the current line
ctrl+j - join lines together
ctrl+/ and ctrl+shift+/ -http://www.lalinguaarabapertutti.com/ toggle comment line/comment block

I think my mouse is feeling a little neglected.



thanks alot
moonlina
 
Posts: 1
Joined: Mon Dec 26, 2011 4:39 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 21 guests