Permalink
Browse files

Adds scratch.vim and deletes xml snippets which I won't use.

  • Loading branch information...
1 parent 4bf8dd1 commit 84ef0ba6995456838b6284e201540e9c11e681e1 @atourino committed Nov 2, 2011
Showing with 6 additions and 37 deletions.
  1. +3 −0 .vim/bundles.vim
  2. +0 −34 .vim/snippets/xml.snippets
  3. +3 −3 .vimrc
View
@@ -31,7 +31,10 @@ Bundle 'mattn/gist-vim'
Bundle 'godlygeek/tabular'
Bundle 'vim-scripts/ZoomWin'
Bundle 'othree/html5.vim'
+Bundle 'kchmck/vim-coffee-script'
+Bundle 'Raimondi/delimitMate'
Bundle 'bufexplorer.zip'
+Bundle 'scratch.vim'
filetype plugin indent on
View
@@ -1,34 +0,0 @@
-# Changelog
-snippet dbcl
- <?xml version="1.0" encoding="UTF-8"?>
- <databaseChangeLog
- xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
- xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd
- http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">
-
- <changeSet id="${1:1}" author="${2:antonio}">
- ${3}
- </changeSet>
- </databaseChangeLog>
-# Changeset
-snippet dbcs
- <changeSet id="${1:1}" author="${2:antonio}">
- ${3}
- </changeSet>
-# Table
-snippet dbct
- <createTable tableName="${1}">
- <column name="${2:id}" type="${3:int}">
- <constraints primaryKey="true" nullable="false"/>
- </column>
- </createTable>
-#Column
-snippet dbcc Column with constraints
- <column name="${1}" type="${2}">
- <constraints nullable="${3:false}"/>
- </column>
-#Column
-snippet dbcc Simple boolean column
- <column name="active" type="${1}" defaultValueBoolean="${2:true}"/>
View
6 .vimrc
@@ -53,7 +53,8 @@ vmap <Leader>aa :Tabularize /=><CR>
" ZoomWin
nnoremap <silent> <Leader><Leader> :ZoomWin<CR>
-
+" Scratch
+nnoremap <silent> <Leader>s :Sscratch<CR>
" General Customizations
@@ -290,10 +291,9 @@ endif
" Filetypes. These should really be in their own files...
autocmd Filetype html setlocal ts=2 sts=2 sw=2 expandtab
autocmd Filetype ruby setlocal ts=2 sts=2 sw=2 expandtab
-au BufNewFile,BufRead *.mustache setf mustache
+autocmd FileType coffee setlocal ts=2 sts=2 sw=2 expandtab
autocmd FileType php set omnifunc=phpcomplete#CompletePHP
-
if filereadable(expand("~/.vimrc.local"))
source ~/.vimrc.local
endif

0 comments on commit 84ef0ba

Please sign in to comment.