Sublime Forum

Assigning to commands to the same key binding

#1

From here:
http://sublimetext.userecho.com/topic/43294-incremental-find-should-retain-last-search-option/?comment_form_activate=true#comment-form

Basically, i want to emulate emacs and textmates ctrl+s search.

If i could do this:

{ "keys": "ctrl+s"], "command": "show_panel", "args": {"panel": "find"} },
{ "keys": "ctrl+s"], "command": "find_next" },

In my key config file I think it would do what i want it to do. However, the above doesn’t work. It comes up saying “unable to find find” if the word “find” exists in the document it finds that word, but never actually brings up the find panel. Pretty sure its just doing the “find_next” and skipping the first one.

If i remove the “find_next” command, it works, except it always comes up with “find” in the box the first time. Which, is odd.

Any ideas on how to make this work?

0 Likes

Multiple keyboard shortcuts
#2

no one?

0 Likes

#3

Someone else is asking the same thing.

https://forum.sublimetext.com/t/multiple-keyboard-shortcuts/2647/3

0 Likes