diff --git a/.vimrc b/.vimrc --- a/.vimrc +++ b/.vimrc @@ -172,6 +172,9 @@ nmap K :call ViewDoc('doc', '') nmap gK :call ViewDoc('doc', expand('')) nmap gKK :call ViewDoc('doc', expand('%')) +" Tabular shortcuts +map te :Tabularize first_eq +map ta :Tabularize first_arrow function! AutoFmtToggle() if &formatoptions =~ 'a'