title: Cannot remove right scrollbar in Vim
body: <p>In my <code>~/.vimrc</code> I have <code>set guioptions-=r</code> for no right scroll bar. Unfortunately, I still see the right scrollbar in vim (run in terminal), although I cannot scroll it.</p>
  
  <p>This is my <code>~/.vimrc</code> file:</p>
  
  <pre><code>set nocompatible      " We're running Vim, not Vi!
  syntax on             " Enable syntax highlighting
  filetype on           " Enable filetype detection
  filetype indent on    " Enable filetype-specific indenting
  filetype plugin on    " Enable filetype-specific plugins
  
  " Toggle paste with F2 so that pasting from external applications goes well
  nnoremap &lt;F2&gt; :set invpaste paste?&lt;CR&gt;
  set pastetoggle=&lt;F2&gt;
  set showmode
  
  " Mapping ctrl-c ctrl-space to intellisense
  inoremap &lt;expr&gt; &lt;C-Space&gt; pumvisible() \|\| &amp;omnifunc == '' ?
              \ "\&lt;lt&gt;C-n&gt;" :
              \ "\&lt;lt&gt;C-x&gt;\&lt;lt&gt;C-o&gt;&lt;c-r&gt;=pumvisible() ?" .
              \ "\"\\&lt;lt&gt;c-n&gt;\\&lt;lt&gt;c-p&gt;\\&lt;lt&gt;c-n&gt;\" :" .
              \ "\" \\&lt;lt&gt;bs&gt;\\&lt;lt&gt;C-n&gt;\"\&lt;CR&gt;"
  imap &lt;C-@&gt; &lt;C-Space&gt;
  
  " Ruby and Rails preferences
  set term=xterm-256color"
  colorscheme wombat256mod
  set guifont=Monaco:h12
  let g:NERDTreeWinPos = "right"
  set guioptions-=T " Removes top toolbar
  set guioptions-=r " Removes right hand scroll bar
  set go-=L " Removes left hand scroll bar
  autocmd User Rails let b:surround_{char2nr('-')} = "&lt;% \r %&gt;" " displays &lt;%%&gt; correctly
  :set cpoptions+=$ " puts a $ marker for the end of words/lines in cw/c$commands 
  
  " Transparent background
  hi Normal          ctermfg=252 ctermbg=none
  hi NonText         ctermfg=250 ctermbg=none
  
  " Display line numbers
  set number
  </code></pre>
  
  <p>I hope someone can tell me how to get the scrollbar removed.</p>