Commit 9493fa40 authored by Sacha's avatar Sacha Committed by SXibolet@2PITAU
Browse files

unsure how this got in here...

parent 3fc37dd5
execute pathogen#infect()
" for pep8: https://github.com/hynek/vim-python-pep8-indent
set nocompatible
set backspace=indent,eol,start
nnoremap <tab> %
vnoremap <tab> %
set smarttab
set tabstop=8
set enc=utf-8
set scrolloff=10
set autochdir
set noru
set nu
syntax on
syntax reset
hi Normal ctermfg=Black
hi Error ctermbg=LightRed ctermfg=DarkGray
hi Comment ctermfg=LightGray
hi Todo ctermfg=LightGreen ctermbg=NONE
hi Search ctermbg=LightGreen ctermfg=DarkGray
hi IncSearch ctermfg=LightCyan ctermbg=DarkGray
hi MatchParen cterm=bold ctermbg=NONE ctermfg=DarkGreen
hi LineNr ctermfg=LightGray
hi Constant cterm=NONE ctermfg=DarkGray
hi cFormat cterm=NONE ctermfg=DarkGray
hi Character cterm=NONE ctermfg=DarkGray
hi Special cterm=NONE ctermfg=DarkGray
hi cSpecialCharacter cterm=NONE ctermfg=DarkGray
hi Identifier cterm=NONE ctermfg=Black
hi Function cterm=NONE ctermfg=Black
hi Statement cterm=NONE ctermfg=Black
hi PreProc cterm=NONE ctermfg=DarkGray
hi Type cterm=NONE ctermfg=DarkGray
hi Delimiter cterm=NONE ctermfg=Black
hi Visual cterm=NONE ctermbg=LightMagenta ctermfg=DarkGray
filetype indent on
set incsearch
set hlsearch
set noerrorbells
nnoremap Y y$
if has("autocmd")
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
autocmd FileType javascript setlocal shiftwidth=2 tabstop=2
autocmd FileType verilog setlocal shiftwidth=2 tabstop=2
autocmd FileType rst setlocal spell
autocmd FileType rst setlocal syntax=off
autocmd FileType tex setlocal spell
autocmd FileType tex setlocal syntax=off
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment