Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Drag in some configs.

  • Loading branch information...
commit ebda59daea1cf6c1733ab76d15d15c3178580cf6 1 parent a5a9edc
@therealadam authored
View
10 .ackrc
@@ -0,0 +1,10 @@
+--type-add=ruby=.haml,Gemfile,Rakefile,Capfile
+--type-add=objc=.pch
+--type-set=xcode=.pbxproj,.pbxuser,.perspectivev3
+--type-set=ragel=.rl
+--type-set=nib=.xib
+--type-set=plist=.plist
+--type-set=tmstuff=.tmproj,.tm_build_errors
+--nonib
+--notmstuff
+--noxcode
View
8 .caprc
@@ -0,0 +1,8 @@
+ssh_options[:keys] = %w(/Users/adam/.ssh/id_rsa)
+ssh_options[:paranoid] = false
+# ssh_options[:forward_agent] = true
+# ssh_options[:verbose] = :debug
+
+# Fix some sudo oddness. See this thread:
+# http://groups.google.com/group/capistrano/browse_thread/thread/e79e1e85b084e39a?pli=1
+# default_run_options[:pty] = true
View
13 .ctags
@@ -0,0 +1,13 @@
+--langdef=Scala
+--langmap=Scala:.scala
+--regex-Scala=/^[ \t]*class[ \t]*([a-zA-Z0-9_]+)/\1/c,classes/
+--regex-Scala=/^[ \t]*object[ \t]*([a-zA-Z0-9_]+)/\1/o,objects/
+--regex-Scala=/^[ \t]*trait[ \t]*([a-zA-Z0-9_]+)/\1/t,traits/
+--regex-Scala=/^[ \t]*case[ \t]*class[ \t]*([a-zA-Z0-9_]+)/\1/r,cclasses/
+--regex-Scala=/^[ \t]*abstract[ \t]*class[ \t]*([a-zA-Z0-9_]+)/\1/a,aclasses/
+--regex-Scala=/^[ \t]*def[ \t]*([a-zA-Z0-9_=]+)[ \t]*.*[:=]/\1/m,methods/
+--regex-Scala=/[ \t]*val[ \t]*([a-zA-Z0-9_]+)[ \t]*[:=]/\1/V,values/
+--regex-Scala=/[ \t]*var[ \t]*([a-zA-Z0-9_]+)[ \t]*[:=]/\1/v,variables/
+--regex-Scala=/^[ \t]*type[ \t]*([a-zA-Z0-9_]+)[ \t]*[\[<>=]/\1/T,types/
+--regex-Scala=/^[ \t]*import[ \t]*([a-zA-Z0-9_{}., \t=>]+$)/\1/i,includes/
+--regex-Scala=/^[ \t]*package[ \t]*([a-zA-Z0-9_.]+$)/\1/p,packages/
View
13 .inputrc
@@ -0,0 +1,13 @@
+set keymap vi-insert
+Control-a: beginning-of-line
+Control-b: backward-char
+Control-d: delete-char
+Control-e: end-of-line
+Control-f: forward-char
+Control-k: kill-line
+Control-n: next-history
+Control-p: previous-history
+
+set keymap emacs-ctlx
+v: vi-editing-mode
+Control-v: "\C-xv\e"
View
1  .irbrc
View
11 .my.cnf
@@ -0,0 +1,11 @@
+[mysql]
+user = root
+password =
+
+[mysqladmin]
+user = root
+password =
+
+[mysqldump]
+user = root
+password =
View
27 .pryrc
@@ -0,0 +1,27 @@
+# vim
+Pry.config.editor = "vim"
+
+# My pry is polite
+Pry.hooks = { :after_session => proc { puts "bye-bye" } }
+
+# Prompt with ruby version
+Pry.prompt = [proc { |obj, nest_level, *| "#{RUBY_VERSION} (#{obj}):#{nest_level} > " }, proc { |obj, nest_level, *| "#{RUBY_VERSION} (#{obj}):#{nest_level} * " }]
+
+%w{map_by_method hirb}.each { |gem| require gem }
+
+# Toys methods
+# Stealed from https://gist.github.com/807492
+class Array
+ def self.toy(n=10, &block)
+ block_given? ? Array.new(n,&block) : Array.new(n) {|i| i+1}
+ end
+end
+
+class Hash
+ def self.toy(n=10)
+ Hash[Array.toy(n).zip(Array.toy(n){|c| (96+(c+1)).chr})]
+ end
+end
+
+# loading rails configuration if it is running as a rails console
+load File.dirname(__FILE__) + '/.railsrc' if defined?(Rails) && Rails
View
1  .rspec
@@ -0,0 +1 @@
+--color
View
10 .screenrc
@@ -0,0 +1,10 @@
+startup_message off
+shell -zsh
+vbell off
+escape ^Tt
+autodetach on
+defscrollback 10000
+
+hardstatus alwayslastline "%{=b}%{G} %{C}%w %=%{G} %c%a"
+
+bind b eval "writebuf" "exec sh -c 'pbcopy < /tmp/screen-exchange'"
View
3  .vimrc
@@ -123,6 +123,9 @@ let g:vimclojure#ParenRainbow=1
"" TODO
" * Finish porting my old config
"
+" Ack
+" Command-T or similar
+" VimClojure
" vim-surround - https://github.com/tpope/vim-surround
" vim-repeat - https://github.com/tpope/vim-repeat
" vim-fugitive - https://github.com/tpope/vim-fugitive
Please sign in to comment.
Something went wrong with that request. Please try again.