Skip to content

Commit

Permalink
Adding some nerdtree changes, plus enabling filetype detection
Browse files Browse the repository at this point in the history
  • Loading branch information
BRMatt committed Aug 1, 2011
1 parent 7dd26df commit f3f8c3f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 9 additions & 2 deletions local.vim
@@ -1,9 +1,12 @@
let $VIMHOME=expand('<sfile>:p:h')

" Auto detect filetypes
filetype on

" Turn off space tabs, use hard tabs
set noexpandtab
set shiftwidth=4
set tabstop=4
set sw=4
set ts=4

" Stop vim from saving files all the time
set noautowriteall
Expand All @@ -20,6 +23,10 @@ set formatoptions=qrn1
let g:snips_author = 'Matt Button <matthew@sigswitch.com>'
let g:snippets_dir = $VIMHOME.'/snippets'

" Settings for NERDTree
let g:NERDTreeChDirMode = 2
let g:NERDTreeShowBookmarks = 1

" Just set the colorscheme
colorscheme earendel

Expand Down
4 changes: 2 additions & 2 deletions snippets/php.snippets
Expand Up @@ -153,7 +153,7 @@ snippet test
*
* @author `g:snips_author`
*/
class $1Test extends Kohana_Unittest_TestCase
class $1Test extends Unittest_TestCase
{
${2}
}
Expand All @@ -164,7 +164,7 @@ snippet dbtest
*
* @author `g:snips_author`
*/
class $1Test extends Kohana_Unittest_Database_TestCase
class $1Test extends Unittest_Database_TestCase
{
/**
* Get the test dataset
Expand Down

0 comments on commit f3f8c3f

Please sign in to comment.