dotfiles/.vimrc
Alan Orth c582ecc1a7 .vimrc: Set solarized transparency option
When solarized sets a background color it causes text selection via
Xorg/mouse to include otherwise blank space as actual spaces when
you paste it.  For some reason this only happens when using vim
inside screen/tmux.  Setting the transparency option solves it.
2013-06-06 17:03:28 +03:00

20 lines
537 B
VimL

set nu
set ts=4
set expandtab
set sw=4
set bs=2
set bg=dark
set paste
set wildmode=longest,list " change filename autocomplete to be more like bash
set mouse=v " some vim defaults to mouse=a, which sucks for copying and pasting in Xorg
syntax on
if version >= 600
filetype on " enable file type detection
filetype plugin on " enable file type plugins
filetype indent on " enable file type indents
endif
let g:solarized_termcolors=256
let g:solarized_termtrans=1
colorscheme solarized