title: How to set keyboard s-up to go move cursor to start of buffer in emacs (and s-down to move cursor to end of buffer)?
body: <p>What can I add to my <code>init.el</code> to move the cursor to the very first character of the open buffer when I press <code>s-up</code> (i.e. hold "command" key, press "up" key on macOS), and equivalent for <code>s-down</code>?</p>
  
  <p>I know it should be something like <code>(global-set-key (kbd "s-&lt;up&gt;") ... )</code></p>