Home Download Buy Blog Forum Support

Looking for some keybindings

Looking for some keybindings

Postby nessa on Thu Oct 27, 2011 7:32 am

Hi

I just switched to SublimeText 2...Really like it so far...there is only one thing... the keybindings...

I already have some custom keybindings, but i'm desperate for some more...I just can't figure out the commands for them...
Is there a list of possible commands somewhere?

And can someone help me with 2 keybindings:

* What is the command for navigating through the folder tree with the arrow keys? (up and down for navigating and right to open folder, left to close it)

* What is the command for moving code lines up and down?

Thx for your help
Nessa
nessa
 
Posts: 5
Joined: Thu Oct 27, 2011 6:59 am

Re: Looking for some keybindings

Postby Nino on Thu Oct 27, 2011 11:33 am

as seen in the dev build 2134 notes there isn't a key binding yet to focus the sidebar.

To move code verticaly by line you can press ctrl+shift+(up/down arrow)
Nino
 
Posts: 2
Joined: Tue Oct 25, 2011 1:48 pm

Re: Looking for some keybindings

Postby nessa on Thu Oct 27, 2011 11:59 am

Thx for the reply :)

but ctrl+shift+(up/down arrow) don't do what i want... with that i can select multiple lines and edit them at the same time (super feature btw ;) but not what i'm looking for)
Keybindings Default looks like this:
{ "keys": ["ctrl+shift+up"], "command": "select_lines", "args": {"forward": false} },
{ "keys": ["ctrl+shift+down"], "command": "select_lines", "args": {"forward": true} },
nessa
 
Posts: 5
Joined: Thu Oct 27, 2011 6:59 am

Re: Looking for some keybindings

Postby jps on Thu Oct 27, 2011 12:27 pm

Your best bet for looking up commands is to browse through the menu definition, in Packages/Default/Main.sublime-menu
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: Looking for some keybindings

Postby nessa on Thu Oct 27, 2011 12:40 pm

super !!! found it :) it's ctrl+super+up :)
now i only can hope that they add the navigation thingie soon ;)
nessa
 
Posts: 5
Joined: Thu Oct 27, 2011 6:59 am


Return to General Discussion

Who is online

Users browsing this forum: BugFix, Yahoo [Bot] and 22 guests