config/vimrc

32 lines
531 B
VimL
Raw Normal View History

2011-06-14 00:42:53 +00:00
" Tabbing
set tabstop=4
set shiftwidth=4
set expandtab
set autoindent
set smartindent
" Window settings
set winminwidth=20
set winwidth=100
set winheight=20
2011-06-28 00:00:15 +00:00
" Syntax highlighting
syntax on
" Wrapping settings
2011-06-14 00:42:53 +00:00
set nowrap " nowrap makes the lines not wrap
" set wrap " wrap makes the lines wrap
set linebreak
" keeps lines below the cursor
set scrolloff=2
" makes LaTeX use spell checking, word wrapping
autocmd FileType tex set wrap spell
autocmd FileType make set noexpandtab
set term=xterm
let java_allow_cpp_keywords = 1