Sublime Forum

Sublime 3 -- changing shortcuts, how?

#1

Hello! I could change easily shortcuts in Sublime 2, but No 3 has major changes and I am lost. So, how can I tweak few shortcuts to make my transition from 2 to 3 as smooth as possible?

Many thanks! PM

0 Likes

#2

How did you did it in ST2? How do you try in ST3 and doesn’t work?

0 Likes

#3

I am apologizing for being so telegraphic! I need to put some info, of course! Thanks for the patience!

Now, first of all, I am using Mac OS X. I typically went to the directory of some plugin; for example:

~/Library/Application Support/Sublime Text 2/Packages/

Then, I searched for:

Default (OSX).sublime-keymap

There, I fixed hotkeys:

"keys": <SOMETHING+SOMETHING>]

Now, in Sublime 3, that relevant stuffs are packaged in:

~/Library/Application Support/Sublime Text 3/Installed Packages/

There are some “files” – packages, for example:

LaTeXing.sublime-package

First of all, there does not exist app that will open this “file”. I tried with TextWrangler (to use something external to the Sublime), and it showed the structure and famous <Default (OSX).sublime-keymap> in it. But I cannot edit this file. Also, I believe I would need to recompile the package, and I am not sure how to do that (and not to mess up things).

Many thanks!

0 Likes

#4

You are doing it wrong.
You have to go to preferences->key bindings.

Read more here: sublimetext.com/docs/3/

0 Likes

#5

change ctrl+shift+d with ctrl+d (like notepad++)

You have to go to preferences->key bindings

custom configuration :
[
{ “keys”: [“ctrl+shift+d”], “command”: “find_under_expand” },
{ “keys”: [“ctrl+d”], “command”: “duplicate_line” }
]

sublime text 3 works

0 Likes