--- a/.vim/after/plugin/tabular.vim
+++ b/.vim/after/plugin/tabular.vim
@@ -1,4 +1,5 @@
if exists(':Tabularize')
AddTabularPattern! first_eq /^[^=]*\zs=/
AddTabularPattern! first_arrow /^.\{-}\zs=>/
+ AddTabularPattern! methods /->\|\\./l1r0
endif
--- a/.vimrc
+++ b/.vimrc
@@ -175,6 +175,7 @@ nmap gKK :call ViewDoc('doc', expand('%'
" Tabular shortcuts
map <leader>te :Tabularize first_eq<CR>
map <leader>ta :Tabularize first_arrow<CR>
+map <leader>tm :Tabularize methods<CR>
function! AutoFmtToggle()
if &formatoptions =~ 'a'