title: Sublime text bind mouse buttons to jump to cursor
body: <p>I want to bind my forward and back mouse buttons (4, 5) to jump between previous cursor positions. I have my file </p>
  
  <pre><code>~/.config/sublime-text-3/Packages/User/Default (Linux).sublime-mousemap
  </code></pre>
  
  <p>My code is as such</p>
  
  <pre><code>[
    {
      "button": "button4",
      "command": "jump_back"
    },
    {
      "button": "button5",
      "command": "jump_forward"
    }
  ]
  </code></pre>
  
  <p>I have also tried</p>
  
  <pre><code>{
    "button": "button5",
    "modifiers" : [],
    "command": "jump_forward"
  }
  </code></pre>
  
  <p>And even </p>
  
  <pre><code>{
    "button": "button5",
    "modifiers" : ["alt"],
    "command": "jump_forward"
  }
  </code></pre>
  
  <p>But the default next / prev tab set-up is always used. Using the sublime default key bindings works however</p>
  
  <pre><code>"alt" + "-"
  "shift" + "alt" + "-"
  </code></pre>