title: How to enable horizontal scrollbar to pop when ‘nowrap’ is set in Vim?
body: <p>Can someone help me to find a solution for the following inconvenience? I would like horizontal scrollbar to appear whenever I set the <code>nowrap</code> option, and vice versa when I set it back to <code>wrap</code>.</p>
  <p>Currently I use these settings individually to ease my work:</p>
  <pre><code>nnoremap &lt;silent&gt; &lt;F3&gt; :if &amp;guioptions=~#'b'&lt;Bar&gt;set guioptions-=b&lt;Bar&gt;else&lt;Bar&gt;set guioptions+=b&lt;Bar&gt;endif&lt;CR&gt;
  map &lt;F2&gt; :set nowrap! &lt;CR&gt; 
  </code></pre>
  <p>Is there a way to toggle them both at the same time, in concordance?</p>