Added editrc/inputrc for vimification of mysql/irb command line tools
This commit is contained in:
parent
f9db81c0ed
commit
cfe89df184
@ -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.
|
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
|
## Vim Configuration
|
||||||
|
|
||||||
|
1
Rakefile
1
Rakefile
@ -14,6 +14,7 @@ task :install => [:submodules] do
|
|||||||
linkables += Dir.glob('git/*') if want_to_install?('git')
|
linkables += Dir.glob('git/*') if want_to_install?('git')
|
||||||
linkables += Dir.glob('irb/*') if want_to_install?('irb/pry')
|
linkables += Dir.glob('irb/*') if want_to_install?('irb/pry')
|
||||||
linkables += Dir.glob('ruby/*') if want_to_install?('ruby (gems)')
|
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('{vim,vimrc}') if want_to_install?('vim')
|
||||||
linkables += Dir.glob('zsh/zshrc') if want_to_install?('zsh')
|
linkables += Dir.glob('zsh/zshrc') if want_to_install?('zsh')
|
||||||
Rake::Task['zsh_themes'].invoke
|
Rake::Task['zsh_themes'].invoke
|
||||||
|
3
vimify/editrc
Normal file
3
vimify/editrc
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
bind -v
|
||||||
|
bind "^R" em-inc-search-prev
|
||||||
|
bind \\t rl_complete
|
@ -102,6 +102,7 @@ alias gz='tar -zcvf'
|
|||||||
alias c='script/console --irb=pry'
|
alias c='script/console --irb=pry'
|
||||||
alias ts='thin start'
|
alias ts='thin start'
|
||||||
alias ms='mongrel_rails start'
|
alias ms='mongrel_rails start'
|
||||||
|
alias tfdl='tail -f log/development.log'
|
||||||
|
|
||||||
# Vim/ctags "mctags = make ctags", using the ruby specific version
|
# Vim/ctags "mctags = make ctags", using the ruby specific version
|
||||||
# to save some time
|
# to save some time
|
||||||
@ -118,3 +119,4 @@ alias sgi='sudo gem install --no-ri --no-rdoc'
|
|||||||
# to find the note called 'todo'
|
# to find the note called 'todo'
|
||||||
alias todo='open nvalt://find/todo'
|
alias todo='open nvalt://find/todo'
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user