vimrc: Updates.
This commit is contained in:
parent
5b27368919
commit
10e915de64
@ -1,12 +1,16 @@
|
|||||||
set tw=78 ts=8 sts=2 sw=2 sm ai si
|
set tw=0 ts=8 sts=2 sw=2 sm ai si
|
||||||
"set gfn=Monospace\ 8 " use Monospace at 8pt
|
"set gfn=Monospace\ 8 " use Monospace at 8pt
|
||||||
set ml mls=5 " scan 5 lines for modelines
|
set ml mls=5 " scan 5 lines for modelines
|
||||||
syn on " enable syntax highlighting
|
syn on " enable syntax highlighting
|
||||||
set hls " highlight search
|
set hls " highlight search
|
||||||
set bg=dark " dark background
|
set bg=dark " dark background
|
||||||
|
|
||||||
|
filetype plugin on
|
||||||
|
set ofu=syntaxcomplete#Complete
|
||||||
|
|
||||||
au BufNewFile,BufRead *.vala setf cs
|
au BufNewFile,BufRead *.vala setf cs
|
||||||
au BufNewFile,BufRead *.java set ts=4 sts=4 sw=4
|
au BufNewFile,BufRead *.java set ts=4 sts=4 sw=4
|
||||||
au BufNewFile,BufRead *.cc set path=.,/usr/include,/usr/include/qt4/Qt,
|
au BufNewFile,BufRead *.cc set path=.,/usr/include,/usr/include/qt4/Qt,
|
||||||
au BufNewFile,BufRead *.i set ft=swig
|
au BufNewFile,BufRead *.i set ft=swig
|
||||||
au BufNewFile,BufRead *.factor set ft=factor
|
au BufNewFile,BufRead *.factor set ft=factor
|
||||||
|
au BufNewFile,BufRead Gemfile set ft=ruby
|
||||||
|
Loading…
Reference in New Issue
Block a user