title: Is the a way to enable node.js REPL terminal color with vim-key-binding?
body: <p>Running <code>node</code> in terminal will bring you into its REPL mode, with syntax highlighting (e.g. <code>number</code> is yellow, while <code>string</code> is green).</p>
  
  <p>However, I'm not comfortable with it's default <code>emacs-key-binding</code>, so I follow some suggestion:</p>
  
  <pre><code>alias node='env NODE_NO_READLINE=1 rlwrap node'
  </code></pre>
  
  <p>This works great, I get <code>vim-key-binding</code>, but the <code>syntax highlighter</code> is disabled.</p>
  
  <hr>
  
  <p>So I give a second try:</p>
  
  <pre><code>alias node='rlwrap -a node'
  </code></pre>
  
  <p>This time I get both <code>vim-key-binding</code> and <code>syntax highlighter</code> work out, but the are some bug e.g. when I type this into REPL mode:</p>
  
  <pre><code>&gt; [1,2,3]
  </code></pre>
  
  <p>the output is correct (with <strong>syntax highlighting</strong>)</p>
  
  <pre><code>[ 1, 2, 3, 4 ]
  </code></pre>
  
  <p>but the input line from above has changed to</p>
  
  <pre><code>&gt; [1,[1,2,3]
  </code></pre>
  
  <p>This bug is more annoying than having no <code>syntax highlight</code>.</p>
  
  <hr>
  
  <p>Any idea to make this 2 things work well together?</p>
  
  <p>P.S. I don't need tab-compilation (at least for this time).</p>