Untitled

View as JSON View RAW
syntax on
let g:solarized_termcolors=256
set t_Co=256
"colorscheme solarized
colorscheme darkblue
set tabstop=4
set expandtab
set shiftwidth=4
set backspace=2
set nocompatible
set smartindent
set ai
set textwidth=80
set colorcolumn=80
set scrolloff=3
"set foldmethod=syntax
set incsearch
"set thesaurus+=~/.vim/openthesaurus.txt
set number
set hlsearch
set lazyredraw " makes vsplit scolling faster

filetype on
filetype plugin on

au BufReadPost *
  \ if line("'\"") > 1 && line("'\"") <= line("$") |
  \   exe "normal! g`\"" |
  \ endif

"au BufNewFile,BufRead *.c set foldcolumn=3
"au FileType python set omnifunc=pythoncomplete#Complete

":map <F2> :w!<CR>:!aspell --lang=de check %<CR>:e! %<CR>

:map <F3> :w!<CR>:make!<CR><CR>
:map <F9> :NERDTreeToggle<CR>
:map <F10> :TlistToggle<CR>
:map <F4> :bprev<CR>
:map <F6> :bnext<CR>

:nmap qr :r $HOME/.vimxfer<CR>
:nmap qw :'a,.w! $HOME/.vimxfer<CR>
:vmap qr c<esc>:r $HOME/.vimxfer<CR>
:vmap qw :w! $HOME/.vimxfer<CR>

:iab teh the
:iab fo of

set guifont=Monospace\ 10
set guioptions-=T " Remove Toolbar


exec "set listchars=tab:\uBB\uBB,trail:\uB7,nbsp:~"
set list

vmap  <expr>  <LEFT>   DVB_Drag('left')
vmap  <expr>  <RIGHT>  DVB_Drag('right')
vmap  <expr>  <DOWN>   DVB_Drag('down')
vmap  <expr>  <UP>     DVB_Drag('up')
vmap  <expr>  D        DVB_Duplicate()

" Airline always visible
set laststatus=2
" Immediatly leave insert mode
set ttimeoutlen=10
let g:airline#extensions#tabline#enabled = 1

let g:syntastic_enable_perl_checker = 1
let g:syntastic_perl_checkers = ['perl', 'perldoc']
"let g:syntastic_always_populate_loc_list = 1
"let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0