Permalink
Browse files

Added editrc/inputrc for vimification of mysql/irb command line tools

  • Loading branch information...
1 parent f9db81c commit cfe89df184d2abd4f71afee9492a4959d2f75595 @skwp committed May 18, 2012
Showing with 10 additions and 0 deletions.
  1. +4 −0 README.md
  2. +1 −0 Rakefile
  3. +3 −0 vimify/editrc
  4. 0 { → vimify}/inputrc
  5. +2 −0 zsh/aliases.zsh
View
@@ -244,6 +244,10 @@ your `~/.secrets` file which is automatically referenced by the provided zshrc:
A .gemrc is included. Never again type `gem install whatever --no-ri --no-rdoc`. `--no-ri --no-rdoc` is done by default.
+## Vimization of everything
+
+The provided inputrc and editrc will turn your various command line tools like mysql and irb into vim prompts. There's
+also an included Ctrl-R reverse history search feature in editrc, very useful in irb.
## Vim Configuration
View
@@ -14,6 +14,7 @@ task :install => [:submodules] do
linkables += Dir.glob('git/*') if want_to_install?('git')
linkables += Dir.glob('irb/*') if want_to_install?('irb/pry')
linkables += Dir.glob('ruby/*') if want_to_install?('ruby (gems)')
+ linkables += Dir.glob('vimify/*') if want_to_install?('vimification of mysql/irb/command line')
linkables += Dir.glob('{vim,vimrc}') if want_to_install?('vim')
linkables += Dir.glob('zsh/zshrc') if want_to_install?('zsh')
Rake::Task['zsh_themes'].invoke
View
@@ -0,0 +1,3 @@
+bind -v
+bind "^R" em-inc-search-prev
+bind \\t rl_complete
File renamed without changes.
View
@@ -102,6 +102,7 @@ alias gz='tar -zcvf'
alias c='script/console --irb=pry'
alias ts='thin start'
alias ms='mongrel_rails start'
+alias tfdl='tail -f log/development.log'
# Vim/ctags "mctags = make ctags", using the ruby specific version
# to save some time
@@ -118,3 +119,4 @@ alias sgi='sudo gem install --no-ri --no-rdoc'
# to find the note called 'todo'
alias todo='open nvalt://find/todo'
+

0 comments on commit cfe89df

Please sign in to comment.