mirror of https://github.com/bjeanes/dotfiles.git
Update the vim bundles and add a few more
parent
c8bb9b7968
commit
677db037f1
|
@ -76,3 +76,21 @@
|
|||
[submodule "vim/bundle/taglist"]
|
||||
path = vim/bundle/taglist
|
||||
url = https://github.com/vim-scripts/taglist.vim.git
|
||||
[submodule "vim/bundle/matchit"]
|
||||
path = vim/bundle/matchit
|
||||
url = https://github.com/mhz/vim-matchit.git
|
||||
[submodule "vim/bundle/textobj-user"]
|
||||
path = vim/bundle/textobj-user
|
||||
url = https://github.com/kana/vim-textobj-user.git
|
||||
[submodule "vim/bundle/textobj-rubyblock"]
|
||||
path = vim/bundle/textobj-rubyblock
|
||||
url = https://github.com/nelstrom/vim-textobj-rubyblock.git
|
||||
[submodule "vim/bundle/tabular"]
|
||||
path = vim/bundle/tabular
|
||||
url = https://github.com/godlygeek/tabular.git
|
||||
[submodule "vim/bundle/ruby-refactoring"]
|
||||
path = vim/bundle/ruby-refactoring
|
||||
url = https://github.com/ecomba/vim-ruby-refactoring.git
|
||||
[submodule "vim/bundle/AutoAlign"]
|
||||
path = vim/bundle/AutoAlign
|
||||
url = https://github.com/vim-scripts/AutoAlign.git
|
||||
|
|
|
@ -17,7 +17,7 @@ export GIT_EDITOR="$(which mvim || which vim) -f" # http://is.gd/hGrsF
|
|||
export IRBRC="$HOME/.irbrc"
|
||||
export JEWELER_OPTS="--rspec --gemcutter --rubyforge --reek --roodi"
|
||||
|
||||
export TERM=xterm-256color
|
||||
#export TERM=xterm-256color
|
||||
export GREP_OPTIONS='--color=auto'
|
||||
export GREP_COLOR='1;32'
|
||||
export CLICOLOR=1
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 3f385ae8fe3f263a487ef445d904631e55a71ee8
|
|
@ -1 +1 @@
|
|||
Subproject commit 930be32a23e902ddc46135ddbb9e76b0fac0c14b
|
||||
Subproject commit 760df352734666753ceb66a0886e0f0a844c3a48
|
|
@ -1 +1 @@
|
|||
Subproject commit a08fed9f6c37519e8ca58e6cf0b0c99ae8581ffe
|
||||
Subproject commit 85fd8b0ce657f772ad9c1c50fe502e08ca2bf04c
|
|
@ -1 +1 @@
|
|||
Subproject commit 780fa5603c0917d9b22e3b64dd8ab0423e006eb5
|
||||
Subproject commit b674cb5c7c3c8595e639847cce95f9ba834181e5
|
|
@ -1 +1 @@
|
|||
Subproject commit affce710e296f384585e7dbe3b2be4d9d04be49f
|
||||
Subproject commit 156123520b1b0f1e128837a4c51f4246017932d4
|
|
@ -1 +1 @@
|
|||
Subproject commit cd51f6130fccf99728090b5476a392469f54f28b
|
||||
Subproject commit b0842f896bf151324573e1d11a02be3c028876eb
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 67cc55c340ddd1c62ea84d1f9774cbf6e297b970
|
|
@ -1 +1 @@
|
|||
Subproject commit 26dade8251a07da3d78467bcbc08bd1b2767008d
|
||||
Subproject commit 0a55cda9e826bd601f0389a787595bfbf9987306
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 4175be7abbf39f13e01252d25362e6551fbd14fd
|
|
@ -1 +1 @@
|
|||
Subproject commit 2f432d1132e93c5db806c6d782f3656dc86efade
|
||||
Subproject commit c6d704c6daf64b85828d99a88f9099efc7e01299
|
|
@ -1 +1 @@
|
|||
Subproject commit 27710a2224d6dd0486d1c40d09ef18dd752e7d37
|
||||
Subproject commit 193649616c560f15bc8bcd9b15fd96d1bdaeb2ee
|
|
@ -1 +1 @@
|
|||
Subproject commit 4b690ba5e20fd603986df9563614909442b4086c
|
||||
Subproject commit 7e183dd2e2985c2c88cb62df7cc839fd6c265dda
|
|
@ -0,0 +1 @@
|
|||
Subproject commit f4d460ea92527f242e447aab37e3fd180ceef526
|
|
@ -0,0 +1 @@
|
|||
Subproject commit ea53988472604c1c1235a70a78de079d38c98342
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 8dc78888b7e3bbd562b2f8c29c96365f61cba194
|
27
vim/vimrc
27
vim/vimrc
|
@ -1,5 +1,7 @@
|
|||
set nocompatible
|
||||
|
||||
runtime macros/matchit.vim
|
||||
|
||||
" Pathogen setup
|
||||
runtime! autoload/pathogen.vim
|
||||
if exists('g:loaded_pathogen')
|
||||
|
@ -235,14 +237,31 @@ set wildignore+=Transmission*Remote*GUI
|
|||
|
||||
let g:ragtag_global_maps = 1
|
||||
|
||||
if filereadable(expand('~/.vimrc.local'))
|
||||
source ~/.vimrc.local
|
||||
endif
|
||||
|
||||
"Directories for swp files
|
||||
set backupdir=~/.vim/backup
|
||||
set directory=~/.vim/backup
|
||||
" better way to run this?
|
||||
let ignorethisvar = system("mkdir -p ~/.vim/backup")
|
||||
|
||||
" Align cucumber tables
|
||||
inoremap <silent> <Bar> <Bar><Esc>:call <SID>align()<CR>a
|
||||
|
||||
function! s:align()
|
||||
let p = '^\s*|\s.*\s|\s*$'
|
||||
if exists(':Tabularize') && getline('.') =~# '^\s*|' && (getline(line('.')-1) =~# p || getline(line('.')+1) =~# p)
|
||||
let column = strlen(substitute(getline('.')[0:col('.')],'[^|]','','g'))
|
||||
let position = strlen(matchstr(getline('.')[0:col('.')],'.*|\s*\zs.*'))
|
||||
Tabularize/|/l1
|
||||
normal! 0
|
||||
call search(repeat('[^|]*|',column).'\s\{-\}'.repeat('.',position),'ce',line('.'))
|
||||
endif
|
||||
endfunction
|
||||
|
||||
" Prevents '<Plug>DiscretionaryEnd' being inserted when pressing <Enter> in
|
||||
" insert mode on new files. Blame SuperTab
|
||||
let g:SuperTabCrMapping = 0
|
||||
let g:SuperTabDefaultCompletionType = "context"
|
||||
|
||||
if filereadable(expand('~/.vimrc.local'))
|
||||
source ~/.vimrc.local
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue