내 ~/.vimrc
에 오른쪽 스크롤 막대가 없으므로 set guioptions-=r
이 있습니다. 불행히도, 나는 그것을 스크롤 할 수는 없지만 vim (터미널에서 실행)에서 여전히 올바른 스크롤바를 볼 수 있습니다.Vim에서 오른쪽 스크롤바를 제거 할 수 없습니다
이 내 ~/.vimrc
파일 : 나는 사람이 어떻게 제거 스크롤을 얻을 방법을 가르쳐 수 있기를 바랍니다
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 <F2> :set invpaste paste?<CR>
set pastetoggle=<F2>
set showmode
" Mapping ctrl-c ctrl-space to intellisense
inoremap <expr> <C-Space> pumvisible() \|\| &omnifunc == '' ?
\ "\<lt>C-n>" :
\ "\<lt>C-x>\<lt>C-o><c-r>=pumvisible() ?" .
\ "\"\\<lt>c-n>\\<lt>c-p>\\<lt>c-n>\" :" .
\ "\" \\<lt>bs>\\<lt>C-n>\"\<CR>"
imap <[email protected]> <C-Space>
" 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('-')} = "<% \r %>" " displays <%%> 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
.
어떤 단말을 사용하십니까? 스크롤바는 터미널 설정과 함께 제공 될 가능성이 높습니다. – Kent
표준 Linux 박하 터미널. –