Standardized naming of plugins in vim/bundle
This commit is contained in:
parent
7ff3ccf1f1
commit
d268b0b2ba
6
.gitmodules
vendored
6
.gitmodules
vendored
@ -10,9 +10,6 @@
|
||||
[submodule "vim/bundle/vim-ruby-conque"]
|
||||
path = vim/bundle/vim-ruby-conque
|
||||
url = https://github.com/skwp/vim-ruby-conque
|
||||
[submodule "vim/bundle/AnsiEsc"]
|
||||
path = vim/bundle/AnsiEsc
|
||||
url = https://github.com/vim-scripts/AnsiEsc.vim.git
|
||||
[submodule "vim/bundle/raimondi-delimitMate"]
|
||||
path = vim/bundle/raimondi-delimitMate
|
||||
url = https://github.com/Raimondi/delimitMate
|
||||
@ -22,3 +19,6 @@
|
||||
[submodule "vim/bundle/godlygeek-csapprox"]
|
||||
path = vim/bundle/godlygeek-csapprox
|
||||
url = https://github.com/godlygeek/csapprox.git
|
||||
[submodule "vim/bundle/vim-scripts-AnsiEsc"]
|
||||
path = vim/bundle/vim-scripts-AnsiEsc
|
||||
url = https://github.com/vim-scripts/AnsiEsc.vim.git
|
||||
|
12
README.md
12
README.md
@ -142,6 +142,18 @@ Included vim plugins
|
||||
* GitGrep - much better than the grep provided with fugitive; use :GitGrep or hit K to grep current word
|
||||
* ruby-debug-ide - not quite working for me, but maybe it will for you. supposedly a graphical debugger you can step through
|
||||
|
||||
Adding your own vim plugins
|
||||
---
|
||||
|
||||
Provided util automatically initializes a git submodule for you:
|
||||
|
||||
util/addvim https://github.com/robgleeson/hammer.vim.git
|
||||
|
||||
Turns into:
|
||||
|
||||
git submodule add https://github.com/robgleeson/hammer.vim.git vim/bundle/robgleeson-hammer
|
||||
|
||||
You can then commit the change. It's good to have your own fork of this project to do that.
|
||||
|
||||
Setup for Git
|
||||
---
|
||||
|
13
util/addvim
Executable file
13
util/addvim
Executable file
@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
unless ARGV.size==1
|
||||
puts "Example: addvim https://github.com/robgleeson/hammer.vim.git"
|
||||
else
|
||||
begin
|
||||
repo=ARGV.first
|
||||
bundle_path=repo.gsub("https://github.com/","").gsub(".git","").gsub("/","-").gsub(".vim","")
|
||||
system("git submodule add #{repo} vim/bundle/#{bundle_path}")
|
||||
rescue
|
||||
puts "Sorry, couldn't parse your path: #{$!}"
|
||||
end
|
||||
end
|
6
vimrc
6
vimrc
@ -265,9 +265,9 @@ let g:ConqueTerm_CWInsert = 1
|
||||
let g:ConqueTerm_Color = 2
|
||||
|
||||
" Open up a variety of commands in the ConqueTerm
|
||||
nmap <silent> <Leader>c :execute 'ConqueTermSplit script/console --irb=pry'<CR>
|
||||
nmap <silent> <Leader>i :execute 'ConqueTermSplit pry'<CR>
|
||||
nmap <silent> <Leader>b :execute 'ConqueTermSplit /bin/bash --login'<CR>
|
||||
nmap <silent> <Leader>cc :execute 'ConqueTermSplit script/console --irb=pry'<CR>
|
||||
nmap <silent> <Leader>pp :execute 'ConqueTermSplit pry'<CR>
|
||||
nmap <silent> <Leader>bb :execute 'ConqueTermSplit /bin/bash --login'<CR>
|
||||
|
||||
let g:ConqueTerm_SendVisKey = '<Leader>e'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user