diff --git a/editors/vim/bundles.vim b/editors/vim/bundles.vim index 4bad846..c704275 100644 --- a/editors/vim/bundles.vim +++ b/editors/vim/bundles.vim @@ -112,9 +112,9 @@ call vundle#rc() vmap a> :Tabularize /=>gv vmap a: :Tabularize /\z:gv - imap a= :Tabularize /=i - imap a> :Tabularize /=>i - imap a: :Tabularize /\z:i + imap a= :Tabularize /=a + imap a> :Tabularize /=>a + imap a: :Tabularize /\z:a " Auto-align "" Cucumber @@ -134,8 +134,8 @@ call vundle#rc() " These need more work: " TODO: - keep cursor position " - don't align equals sign if inside hashrocket - " inoremap => =>:Tabularize /=> i - " inoremap = =:Tabularize /=i + " inoremap => =>:Tabularize /=> a + " inoremap = =:Tabularize /=a Bundle 'scrooloose/nerdcommenter' let NERDSpaceDelims = 1 " space between comment and code