title: How can I switch word wrap on and off in Visual Studio Code?
body: <p>When using code files, you typically don't need longer lines to wrap around. However, with <code>.md</code> files this is in fact rather useful. However, <strong>I can't seem to find the option to enable word wrap</strong> so longer lines will be wrapped.</p>
  
  <p>To reproduce, open Visual Studio Code resized to a small-enough window, and enter the following text in a new document:</p>
  
  <pre class="lang-none prettyprint-override"><code>This is my test lorem ipsum. This is my test lorem ipsum. This is my test lorem ipsum. This is my test lorem ipsum. This is my test lorem ipsum. This is my test lorem ipsum. This is my test lorem ipsum. This is my test lorem ipsum. This is my test lorem ipsum.
  A linebreak before this. 
  </code></pre>
  
  <p>The effect is this:</p>
  
  <p><img src="https://i.stack.imgur.com/mgitS.png" alt="Example of missing word wrap"></p>
  
  <p>I'm trying to get the horizontal scrollbar to stay away, having line 1 wrap around at the right side of the window.</p>
  
  <p>I've done a few things to answer my own question:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/search?q=%5Bvscode%5D+word+wrap">Search Stack Overflow</a>: zero results at the time of writing this;</li>
  <li>Meticulously going through the menu of Visual Studio Code: didn't find it;</li>
  <li>Using the Command Palette with "wrap": gives no matching commands.</li>
  </ul>
  
  <p>Perhaps it's not possible, and I'd need to file a feature request? Or am I missing something?</p>
  
  <p>Note that I'd like to be able to turn it on and off quickly. For one, @PanagiotisKanavos mentioned in comments this solution to change wrapping behavior in the settings, but I'm looking for a quick command or menu option to do this (much like <a href="http://en.wikipedia.org/wiki/Notepad%2B%2B" rel="noreferrer">Notepad++</a> and <a href="http://en.wikipedia.org/wiki/Sublime_Text" rel="noreferrer">Sublime Text</a> 2 have).</p>