Skip to content

Commit

Permalink
added syntastic, fixed typo in vimrc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Fleming committed Jan 23, 2012
1 parent ab3686a commit 5d9c0e5
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
.git
8 changes: 7 additions & 1 deletion .netrwhist
@@ -1,2 +1,8 @@
let g:netrw_dirhistmax =10
let g:netrw_dirhist_cnt =0
let g:netrw_dirhist_cnt =6
let g:netrw_dirhist_1='/home/d33t/.devilspie'
let g:netrw_dirhist_2='/media/MacBack/System/www/xmas-node/routes'
let g:netrw_dirhist_3='/media/MacBack/System/www/wishlist/runOnce'
let g:netrw_dirhist_4='/media/MacBack/System/www/select_italy/newsite/browse/packages'
let g:netrw_dirhist_5='/home/d33t/.subversion'
let g:netrw_dirhist_6='/media/MacBack/System/www/node-landing/modules'
Binary file added .vimrc.swp
Binary file not shown.
5 changes: 5 additions & 0 deletions bundle/custom/indent/coffee.vim
@@ -0,0 +1,5 @@
" modify the indenting
"set expandtab " insert spaces instead of tabs
set tabstop=2 " use X spaces when tab is pressed
set shiftwidth=2 " shifttabs are also X spaces
set smarttab " make delete remove X spaces
1 change: 1 addition & 0 deletions bundle/syntastic
Submodule syntastic added at fe5b89
1 change: 1 addition & 0 deletions bundle/vim-colors-solarized
Submodule vim-colors-solarized added at 528a59
26 changes: 18 additions & 8 deletions vimrc
Expand Up @@ -8,7 +8,7 @@

" This line should not be removed as it ensures that various options are
" properly set to work with the Vim-related packages available in Debian.
runtime! debian.vim
" runtime! debian.vim

" Uncomment the next line to make Vim more Vi-compatible
" NOTE: debian.vim sets 'nocompatible'. Setting 'compatible' changes numerous
Expand All @@ -17,7 +17,7 @@ runtime! debian.vim

" Vim5 and later versions support syntax highlighting. Uncommenting the next
" line enables syntax highlighting by default.
syntax on
syntax enable

" Some custom highlighting rules
" au BufNewFile,BufRead *.ctp setfiletype php
Expand All @@ -26,6 +26,15 @@ syntax on
" turn on this option as well
set background=dark

" The following are commands that change the default colors of the syntax
" highlighting. Comment of change them to meet your needs
hi Comment ctermfg=DarkGreen
hi Search ctermbg=red
hi String ctermfg=grey

" Load the solarized color theme
"colorscheme solarized

" Uncomment the following to have Vim jump to the last position when
" reopening a file
"if has("autocmd")
Expand Down Expand Up @@ -56,7 +65,7 @@ set hlsearch " Highlight search phrases
"set mouse=a " Enable mouse usage (all modes) in terminals
set visualbell " Enable visual bell
set ruler " Always show a ruler
set laststatus=2 " Always shows the last staus menu
set laststatus=2 " Always shows the last status menu
set noerrorbells " Don't ring the bell for errors
set nostartofline " Don't move cursor to the start of the line
set shortmess=at " Avoid the 'press enter' with error messages
Expand All @@ -66,12 +75,13 @@ set tabstop=4 " use X spaces when tab is pressed
set shiftwidth=4 " shifttabs are also X spaces
set smarttab " make delete remove X spaces

" Syntastic settings
let g:syntastic_check_on_open=1
" Status line settings
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*

" The following are commands that change the default colors of the syntax
" highlighting. Comment of change them to meet your needs
hi Comment ctermfg=DarkGreen
hi Search ctermbg=red
hi String ctermfg=grey

" On some systems, it may be nesseccary to re-map the arrow keys. Uncomment
" these next lines if that is the case.
Expand Down

0 comments on commit 5d9c0e5

Please sign in to comment.