<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>etc/vim/snippets/autoit.snippets</filename>
    </added>
    <added>
      <filename>etc/vim/snippets/tcl.snippets</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -131,6 +131,13 @@ alias v=vim
 
 
 
+# Sluething----------------------------------------------------
+findportuser() {
+    lsof -i :&quot;$1&quot;
+}
+
+
+
 # Other aliases ----------------------------------------------------
 alias ll='ls -hl'
 alias la='ls -a'
@@ -165,6 +172,10 @@ alias untar=&quot;tar xvzf&quot;
 
 alias cp_folder=&quot;cp -Rpv&quot; #copies folder and all sub files and folders, preserving security and dates
 
+killhard() {
+    kill -9 &quot;$1&quot;
+}
+
 
 
 # Bring in the other files ----------------------------------------------------</diff>
      <filename>etc/bashrc</filename>
    </modified>
    <modified>
      <diff>@@ -65,13 +65,20 @@ alias gtshowcommands=&quot;echo -e '${COLOR_LIGHT_PURPLE}Available commands:
    ${COLOR_BLUE}gt${COLOR_NC}show
    ${COLOR_BLUE}gt${COLOR_NC}diff
    ${COLOR_BLUE}gt${COLOR_NC}diff${COLOR_BLUE}staged${COLOR_NC}
+   ${COLOR_BLUE}gt${COLOR_NC}merge
+   ${COLOR_BLUE}gt${COLOR_NC}merge${COLOR_BLUE}head${COLOR_NC}
+   ${COLOR_BLUE}gt${COLOR_NC}merge${COLOR_BLUE}with${COLOR_NC}tool
    ${COLOR_BLUE}gt${COLOR_NC}push
    ${COLOR_BLUE}gt${COLOR_NC}pull
    ${COLOR_BLUE}gt${COLOR_NC}fetch
-   ${COLOR_BLUE}gt${COLOR_NC}checkout  ${COLOR_GRAY}(like svn revert) Example: gtcheckout your_file  
+   ${COLOR_BLUE}gt${COLOR_NC}checkout  ${COLOR_GRAY}(like svn revert in some cases) Example: gtcheckout your_file or gtcheckout your_local_branch  
+   ${COLOR_BLUE}gt${COLOR_NC}checkout${COLOR_BLUE}initial${COLOR_NC}remote{COLOR_BLUE}branch${COLOR_NC}  ${COLOR_GRAY}Example: gtcheckoutinitialremotebranch your_branch  
    ${COLOR_BLUE}gt${COLOR_NC}blame
    ${COLOR_BLUE}gt${COLOR_NC}log
    ${COLOR_BLUE}gt${COLOR_NC}log${COLOR_BLUE}stat${COLOR_NC}
+   ${COLOR_BLUE}gt${COLOR_NC}branch
+   ${COLOR_BLUE}gt${COLOR_NC}branch${COLOR_BLUE}delete${COLOR_NC}
+   ${COLOR_BLUE}gt${COLOR_NC}branch${COLOR_BLUE}list${COLOR_NC}all
    ${COLOR_BLUE}gt${COLOR_NC}status
 '&quot;
 
@@ -96,13 +103,16 @@ alias gtlogstat='gt log --stat'
 alias gtstatus='gt status'
 alias gtmerge='gt merge'
 alias gtmergehead='gt merge origin/master'
+alias gtmergewithtool='gt mergetool'
 alias gttagadd='gt tag -a'
 alias gttaglist='gt tag -l'
 alias gtbranch='gt branch'
 alias gtbranchdelete='gt branch -d'
 alias gtbranchlistall='gt branch -a'
 
-
+gtcheckoutinitialremotebranch (){
+  git checkout -tlb $1 origin/$1
+}
 
 # Rails and Rake -------------------------------------------------
 alias rrshowcommands=&quot;echo -e '${COLOR_LIGHT_PURPLE}Available commands: </diff>
      <filename>etc/bashrc_app_specific</filename>
    </modified>
    <modified>
      <diff>@@ -81,7 +81,7 @@ fun s:ProcessSnippet(snip)
 	while stridx(snippet, '${'.i) != -1
 		let s = matchstr(snippet, '${'.i.':\zs.\{-}\ze}')
 		if s != ''
-			let snippet = substitute(snippet, '$'.i, '&amp;'.s, 'g')
+			let snippet = substitute(snippet, '$'.i, s.'&amp;', 'g')
 		endif
 		let i += 1
 	endw
@@ -120,27 +120,27 @@ fun s:BuildTabStops(snip, lnum, col, indent)
 	let withoutVars = substitute(a:snip, '$\d\+', '', 'g')
 	while stridx(a:snip, '${'.i) != -1
 		let beforeTabStop = matchstr(withoutVars, '^.*\ze${'.i.'\D')
-		let withoutOthers = substitute(withoutVars, '${'.i.'\@!\d\+.\{-}}', '', 'g')
-		let snipPos += [[a:lnum + s:Count(beforeTabStop, &quot;\n&quot;),
-						\ a:indent + len(matchstr(withoutOthers,
-						\ &quot;^.*\\(\n\\|^\\)\\zs.*\\ze${&quot;.i.'\D')), -1]]
-		if snipPos[i-1][0] == a:lnum
-			let snipPos[i-1][1] += a:col
-		endif
+		let withoutOthers = substitute(withoutVars, '${\('.i.'\D\)\@!\d\+.\{-}}', '', 'g')
+
+		let j = i - 1
+		call add(snipPos, [0, 0, -1])
+		let snipPos[j][0] = a:lnum + s:Count(beforeTabStop, &quot;\n&quot;)
+		let snipPos[j][1] = a:indent + len(matchstr(withoutOthers, '.*\(\n\|^\)\zs.*\ze${'.i.'\D'))
+		if snipPos[j][0] == a:lnum | let snipPos[j][1] += a:col | endif
 
 		&quot; Get all $# matches in another list, if ${#:name} is given
 		if stridx(withoutVars, '${'.i.':') != -1
-			let j = i - 1
 			let snipPos[j][2] = len(matchstr(withoutVars, '${'.i.':\zs.\{-}\ze}'))
-			let snipPos[j] += [[]]
+			let dots = repeat('.', snipPos[j][2])
+			call add(snipPos[j], [])
 			let withoutOthers = substitute(a:snip, '${\d\+.\{-}}\|$'.i.'\@!\d\+', '', 'g')
 			while match(withoutOthers, '$'.i.'\D') != -1
-				let beforeMark = matchstr(withoutOthers, '^.\{-}\ze$'.i.'\D')
-				let linecount = a:lnum + s:Count(beforeMark, &quot;\n&quot;)
-				let snipPos[j][3] += [[linecount,
-							\ a:indent + (linecount &gt; a:lnum
-							\ ? len(matchstr(beforeMark, &quot;^.*\n\\zs.*&quot;))
-							\ : a:col + len(beforeMark))]]
+				let beforeMark = matchstr(withoutOthers, '^.\{-}\ze'.dots.'$'.i.'\D')
+				call add(snipPos[j][3], [0, 0])
+				let snipPos[j][3][-1][0] = a:lnum + s:Count(beforeMark, &quot;\n&quot;)
+				let snipPos[j][3][-1][1] = a:indent + (snipPos[j][3][-1][0] &gt; a:lnum
+				                           \ ? len(matchstr(beforeMark, '.*\n\zs.*'))
+				                           \ : a:col + len(beforeMark))
 				let withoutOthers = substitute(withoutOthers, '$'.i.'\ze\D', '', '')
 			endw
 		endif</diff>
      <filename>etc/vim/autoload/snipMate.vim</filename>
    </modified>
    <modified>
      <diff>@@ -62,7 +62,7 @@ only be used outside of a snippet declaration. E.g.: &gt;
  snippet trigger
  	expanded text
  snippet another_trigger
- 	# this isn't a comment!
+ 	# this doesn't work!
 	expanded text
 &lt;
 This should hopefully be obvious with the included syntax highlighting.</diff>
      <filename>etc/vim/doc/snipMate.txt</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,6 @@
 &quot; File:          snipMate.vim
 &quot; Author:        Michael Sanders
-&quot; Version:       0.81
-&quot; Last Modified: May 15, 2009
+&quot; Version:       0.82
 &quot; Description:   snipMate.vim implements some of TextMate's snippets features in
 &quot;                Vim. A snippet is a piece of often-typed text that you can
 &quot;                insert into your document using a trigger word followed by a &quot;&lt;tab&gt;&quot;.
@@ -192,17 +191,19 @@ fun s:ChooseSnippet(scope, trigger)
 	return num == -1 ? '' : s:multi_snips[a:scope][a:trigger][num][1]
 endf
 
-fun ShowAvailableSnips()
-	let word = matchstr(getline('.'), '\S\+\%'.col('.').'c')
+fun! ShowAvailableSnips()
+	let line  = getline('.')
+	let col   = col('.')
+	let word  = matchstr(getline('.'), '\S\+\%'.col.'c')
 	let words = [word]
 	if stridx(word, '.')
 		let words += split(word, '\.', 1)
 	endif
-	let matchpos = 0
+	let matchlen = 0
 	let matches = []
 	for scope in [bufnr('%')] + split(&amp;ft, '\.') + ['_']
-		let triggers = exists('s:snippets[&quot;'.scope.'&quot;]') ? keys(s:snippets[scope]) : []
-		if exists('s:multi_snips[&quot;'.scope.'&quot;]')
+		let triggers = has_key(s:snippets, scope) ? keys(s:snippets[scope]) : []
+		if has_key(s:multi_snips, scope)
 			let triggers += keys(s:multi_snips[scope])
 		endif
 		for trigger in triggers
@@ -212,12 +213,16 @@ fun ShowAvailableSnips()
 				elseif trigger =~ '^'.word
 					let matches += [trigger]
 					let len = len(word)
-					if len &gt; matchpos | let matchpos = len | endif
+					if len &gt; matchlen | let matchlen = len | endif
 				endif
 			endfor
 		endfor
 	endfor
-	call complete(col('.') - matchpos, matches)
+
+	&quot; This is to avoid a bug with Vim when using complete(col - matchlen, matches)
+	&quot; (Issue#46 on the Google Code snipMate issue tracker).
+	call setline(line('.'), substitute(line, repeat('.', matchlen).'\%'.col.'c', '', ''))
+	call complete(col, matches)
 	return ''
 endf
 &quot; vim:noet:sw=4:ts=4:ft=vim</diff>
      <filename>etc/vim/plugin/snipMate.vim</filename>
    </modified>
    <modified>
      <diff>@@ -3,9 +3,7 @@
 # (c) holds no legal value ;)
 snippet c)
 	`&amp;enc[:2] == &quot;utf&quot; ? &quot;&#169;&quot; : &quot;(c)&quot;` Copyright `strftime(&quot;%Y&quot;)` ${1:`g:snips_author`}. All Rights Reserved.${2}
-
 snippet date
 	`strftime(&quot;%Y-%m-%d&quot;)`
-
 snippet lorem
 	Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</diff>
      <filename>etc/vim/snippets/_.snippets</filename>
    </modified>
    <modified>
      <diff>@@ -23,11 +23,11 @@ snippet def
 # cleaner, I don't know how to do it in vim script)
 snippet once
 	#ifndef ${1:`toupper(Filename('', 'UNTITLED').'_'.system(&quot;/usr/bin/ruby -e 'print (rand * 2821109907455).round.to_s(36)'&quot;))`}
-
+	
 	#define $1
-
+	
 	${2}
-
+	
 	#endif /* end of include guard: $1 */
 # If Condition
 snippet if</diff>
      <filename>etc/vim/snippets/c.snippets</filename>
    </modified>
    <modified>
      <diff>@@ -24,7 +24,7 @@ snippet cl
 	public:
 		$1 (${2:arguments});
 		virtual ~$1 ();
-
+	
 	private:
 		${3:/* data */}
 	};</diff>
      <filename>etc/vim/snippets/cpp.snippets</filename>
    </modified>
    <modified>
      <diff>@@ -10,37 +10,27 @@ snippet rce
 snippet end
 	&lt;% end -%&gt;${1}
 snippet for
-	&lt;% unless ${1:list}.blank? %&gt;
-		&lt;% for ${2:item} in $1 %&gt;
-			${3}
-		&lt;% end %&gt;
-	&lt;% end %&gt;
-snippet forelse
-	&lt;% unless ${1:list}.blank? %&gt;
-		&lt;% for ${2:item} in $1 %&gt;
-			${3}
-		&lt;% end %&gt;
-	&lt;% else %&gt;
-		${4}
+	&lt;% for ${2:item} in $1 %&gt;
+		${3}
 	&lt;% end %&gt;
 snippet rp
-	render :partial =&gt; &quot;${1:item}&quot;
+	&lt;%= render :partial =&gt; '${1:item}' %&gt;
 snippet rpl
-	render :partial =&gt; &quot;${1:item}&quot;, :locals =&gt; { :${2:name} =&gt; &quot;${3:value}&quot;$4 }
+	&lt;%= render :partial =&gt; '${1:item}', :locals =&gt; { :${2:name} =&gt; '${3:value}'$4 } %&gt;
 snippet rps
-	render :partial =&gt; &quot;${1:item}&quot;, :status =&gt; ${2:500}
+	&lt;%= render :partial =&gt; '${1:item}', :status =&gt; ${2:500} %&gt;
 snippet rpc
-	render :partial =&gt; &quot;${1:item}&quot;, :collection =&gt; ${2:items}
+	&lt;%= render :partial =&gt; '${1:item}', :collection =&gt; ${2:items} %&gt;
 snippet lia
-	&lt;%= link_to &quot;${1:link text...}&quot;, :action =&gt; &quot;${2:index}&quot; %&gt;
+	&lt;%= link_to '${1:link text...}', :action =&gt; '${2:index}' %&gt;
 snippet liai
-	&lt;%= link_to &quot;${1:link text...}&quot;, :action =&gt; &quot;${2:edit}&quot;, :id =&gt; ${3:@item} %&gt;
+	&lt;%= link_to '${1:link text...}', :action =&gt; '${2:edit}', :id =&gt; ${3:@item} %&gt;
 snippet lic
-	&lt;%= link_to &quot;${1:link text...}&quot;, :controller =&gt; &quot;${2:items}&quot; %&gt;
+	&lt;%= link_to '${1:link text...}', :controller =&gt; '${2:items}' %&gt;
 snippet lica
-	&lt;%= link_to &quot;${1:link text...}&quot;, :controller =&gt; &quot;${2:items}&quot;, :action =&gt; &quot;${3:index}&quot; %&gt;
+	&lt;%= link_to '${1:link text...}', :controller =&gt; '${2:items}', :action =&gt; '${3:index}' %&gt;
 snippet licai
-	&lt;%= link_to &quot;${1:link text...}&quot;, :controller =&gt; &quot;${2:items}&quot;, :action =&gt; &quot;${3:edit}&quot;, :id =&gt; ${4:@item} %&gt;
+	&lt;%= link_to '${1:link text...}', :controller =&gt; '${2:items}', :action =&gt; '${3:edit}', :id =&gt; ${4:@item} %&gt;
 snippet yield
 	&lt;%= yield${1::content_symbol}%&gt;${2}
 snippet conf</diff>
      <filename>etc/vim/snippets/eruby.snippets</filename>
    </modified>
    <modified>
      <diff>@@ -4,21 +4,21 @@ snippet main
 		${1:/* code */}
 	}
 snippet pu
-	public 
+	public
 snippet po
-	protected 
+	protected
 snippet pr
-	private 
+	private
 snippet st
-	static 
+	static
 snippet fi
-	final 
+	final
 snippet ab
-	abstract 
+	abstract
 snippet re
-	return 
+	return
 snippet br
-	break; 
+	break;
 snippet de
 	default:
 		${1}</diff>
      <filename>etc/vim/snippets/java.snippets</filename>
    </modified>
    <modified>
      <diff>@@ -22,7 +22,7 @@ snippet objc
 	{
 	}
 	@end
-
+	
 	@implementation $1
 	${3}
 	@end
@@ -52,7 +52,7 @@ snippet ibo
 snippet cat
 	@interface ${1:NSObject} (${2:Category})
 	@end
-
+	
 	@implementation $1 ($2)
 	${3}
 	@end
@@ -122,7 +122,7 @@ snippet objacc
 	{
 		return $2;
 	}
-
+	
 	- (void)set$2:($1)${3:new$2}
 	{
 		[$3 retain];
@@ -136,7 +136,7 @@ snippet fora
 	}
 snippet forarray
 	unsigned int ${1:object}Count = [${2:array} count];
-
+	
 	for (unsigned int index = 0; index &lt; $1Count; index++) {
 		${3:id} $1 = [$2 $1AtIndex:index];
 		${4}
@@ -157,7 +157,7 @@ snippet ret
 # release
 snippet rel
 	[${1:foo} release];
-	${2:$1 = nil;}
+	${2:$1 = nil;}	
 # autorelease
 snippet arel
 	[${1:foo} autorelease];</diff>
      <filename>etc/vim/snippets/objc.snippets</filename>
    </modified>
    <modified>
      <diff>@@ -3,7 +3,7 @@ snippet php
 	${1}
 	?&gt;
 snippet ec
-	echo &quot;${1:string}&quot;;${2}
+	echo &quot;${1:string}&quot;${2};
 snippet inc
 	include '${1:file}';${2}
 snippet inc1
@@ -119,7 +119,7 @@ snippet doc_h
 	 * @copyright ${4:$2}, `strftime('%d %B, %Y')`
 	 * @package ${5:default}
 	 **/
-
+	
 	/**
 	 * Define DocBlock
 	 *//</diff>
      <filename>etc/vim/snippets/php.snippets</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,8 @@
 snippet #!
 	#!/usr/bin/python
 
+snippet imp
+	import ${1:module}
 # Module Docstring
 snippet docs
 	'''
@@ -27,9 +29,12 @@ snippet def
 	def ${1:fname}(${2:`indent('.') ? 'self' : ''`}):
 		&quot;&quot;&quot;${3:docstring for $1}&quot;&quot;&quot;
 		${4:pass}
+snippet deff
+	def ${1:fname}(${2:`indent('.') ? 'self' : ''`}):
+		${3}
 # New Method
 snippet defs
-	def ${1:mname}(self, ${2:arg})):
+	def ${1:mname}(self, ${2:arg}):
 		${3:pass}
 # New Property
 snippet property
@@ -39,7 +44,9 @@ snippet property
 			${3:return self._$1}
 		def fset(self, value):
 			${4:self._$1 = value}
-
+# Lambda
+snippet ld
+	${1:var} = lambda ${2:vars} : ${3:action}
 snippet .
 	self.
 snippet try Try/Except</diff>
      <filename>etc/vim/snippets/python.snippets</filename>
    </modified>
    <modified>
      <diff>@@ -420,6 +420,6 @@ snippet tas
 snippet pt
 	puts ${1}
 snippet ps
-	puts '${1}'
+	puts '${1}'${2}
 snippet pd
-	puts &quot;${1}&quot;
+	puts &quot;${1}&quot;${2}</diff>
      <filename>etc/vim/snippets/ruby.snippets</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 # #!/bin/bash
 snippet #!
 	#!/bin/bash
-
+	
 snippet if
 	if [[ ${1:condition} ]]; then
 		${2:#statements}</diff>
      <filename>etc/vim/snippets/sh.snippets</filename>
    </modified>
    <modified>
      <diff>@@ -3,8 +3,6 @@ snippet header
 	&quot; Author: ${2:`g:snips_author`}
 	&quot; Description: ${3}
 	${4:&quot; Last Modified: `strftime(&quot;%B %d, %Y&quot;)`}
-snippet lm
-	&quot; Last Modified: `strftime(&quot;%B %d, %Y&quot;)`
 snippet guard
 	if exists('${1:did_`Filename()`}') || &amp;cp${2: || version &lt; 700}
 		finish</diff>
      <filename>etc/vim/snippets/vim.snippets</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>849c20d72b99258d38a97d872f01989f6b9eefb4</id>
    </parent>
  </parents>
  <author>
    <name>Todd Werth</name>
    <email>twerth@infinitered.com</email>
  </author>
  <url>http://github.com/twerth/dotfiles/commit/50790b6b1f9b643d0cd0ebb953a9cfba64c3d0c1</url>
  <id>50790b6b1f9b643d0cd0ebb953a9cfba64c3d0c1</id>
  <committed-date>2009-06-24T08:41:01-07:00</committed-date>
  <authored-date>2009-06-24T08:41:01-07:00</authored-date>
  <message>Added a few things to bashrc.  Added new git commands.  Updated snipMate code from author.  Mod'd snippets</message>
  <tree>19c4dc6e3eae62e3272089924338855557bb2a14</tree>
  <committer>
    <name>Todd Werth</name>
    <email>twerth@infinitered.com</email>
  </committer>
</commit>
