Added vimrc.
This commit is contained in:
parent
fc272b66cb
commit
f6ad2724da
1 changed files with 22 additions and 0 deletions
22
vimrc
Normal file
22
vimrc
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
" Tabbing
|
||||||
|
set tabstop=4
|
||||||
|
set shiftwidth=4
|
||||||
|
set expandtab
|
||||||
|
set autoindent
|
||||||
|
set smartindent
|
||||||
|
|
||||||
|
" Window settings
|
||||||
|
set winminwidth=20
|
||||||
|
set winwidth=100
|
||||||
|
set winheight=20
|
||||||
|
|
||||||
|
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
|
Loading…
Reference in a new issue