title: Define key-chord key with specific mode
body: <p>How do you define a key-chord key only in specific mode, for example I want to bind a cider repl to a specific key only in <code>clojure-mode</code> or <code>cider-mode</code>. I can only find an example that activates the key globally.</p>
  
  <p>Thanks for your help.</p>
  
  <p>EDIT:</p>
  
  <pre><code>(require 'evil)
  (require 'key-chord)
  (evil-mode 1)
  
  (key-chord-mode 1)
  (key-chord-define evil-insert-state-map "jk" 'evil-normal-state)
  (key-chord-define-global "gt" 'other-window)
  (key-chord-define clojure-mode-hook "gj" 'cider-jack-in)
  ;; error : Wrong type argument: keymapp, (rainbow-delimiters-mode)
  
  
  (provide 'init-evil)
  </code></pre>