Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Insert the following into your user key bindings. </p> <pre><code>[ { "keys": ["up"], "command": "swap_line_up" }, { "keys": ["down"], "command": "swap_line_down" } ] </code></pre> <p>The key mapping file is just JSON. There are 4 keys.</p> <p><code>keys</code>is a list of key entries. An entry will generally be something like <code>["&lt;modifier&gt; + &lt;character&gt;"]</code>. You can define multi level keybindings by creating additional entries in the array. An example of this is to show and hide the side bar. The entry for this is <code>["ctrl+k", "ctrl+b"]</code>. The available keys are described <a href="http://docs.sublimetext.info/en/latest/reference/key_bindings.html#bindable-keys" rel="nofollow">here</a>. </p> <p><code>command</code> is a string specifying the command to run. To see what command is running with a particular action, you can enter <code>sublime.log_commands(True)</code> in the ST console.</p> <p><code>args</code> are the arguments passed to the command. This is a dictionary object. The keys for this correspond to the parameter name for a given command.</p> <p><code>context</code> is a list of dictionary entries to conditionally execute a given command. These can be somewhat complicated. There is a reference for context <a href="http://docs.sublimetext.info/en/latest/reference/key_bindings.html#structure-of-a-context" rel="nofollow">here</a>. </p> <p>I think the best way to familiarize yourself with the key bindings is to just try things out. I used the default keys as a reference. </p> <p>You might want to keep <a href="http://docs.sublimetext.info/en/latest/reference/key_bindings.html" rel="nofollow">this</a> as a reference.</p> <p>You can run a series of commands by creating macros. These are just lists of commands and arguments and are further described <a href="http://docs.sublimetext.info/en/latest/extensibility/macros.html" rel="nofollow">here</a>.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload