title: "Home" and "End" in IntelliJ terminal on Mac with zsh
body: <p>I would like to bind <kbd>fn</kbd>+<kbd>&rarr;</kbd> and <kbd>fn</kbd>+<kbd>&larr;</kbd> to "End" and "Home" in the IntelliJ terminal on my Mac (this is the very same combination that iTerm uses).</p>
  
  <p>If this is not possible, I could also live with <kbd>&#8984;</kbd>+<kbd>&rarr;</kbd> and <kbd>&#8984;</kbd>+<kbd>&larr;</kbd>.</p>
  
  <p>I know that <kbd>ctrl</kbd>+<kbd>e</kbd> and <kbd>ctrl</kbd>+<kbd>a</kbd> can be used for jumping to the start and end of a line but for convenience I'd like to use the same combinations as within iTerm.</p>
  
  <p><strong>Edit</strong></p>
  
  <p>Interestingly, my keymap shows <kbd>&#8598;</kbd> and <kbd>&#8600;</kbd> as keybord shortcut for <code>Move Caret to Line End</code> and <code>Move Caret to Line Start</code> - it works in the editor - but it does not work in the terminal:</p>
  
  <p><a href="https://i.stack.imgur.com/9WMkD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9WMkD.png" alt="enter image description here"></a></p>
  
  <p><strong>Edit 2</strong></p>
  
  <p>I found out that the problem occurs only with <code>zsh</code> - when I use <code>bash</code>, <kbd>fn</kbd>+<kbd>&rarr;</kbd> and <kbd>fn</kbd>+<kbd>&larr;</kbd> work as expected. Any ideas where IntelliJ and <code>zsh</code> might conflict here? It works with the very same <code>zsh</code> configuration in iTerm.</p>