Skip to content

Instantly share code, notes, and snippets.

@markjlorenz
Created February 28, 2014 21:02
Show Gist options
  • Save markjlorenz/9279862 to your computer and use it in GitHub Desktop.
Save markjlorenz/9279862 to your computer and use it in GitHub Desktop.
align
" Alignment macros
nmap <Leader>a= :Tabularize /=\(>\)\@!<CR>
vmap <Leader>a= :Tabularize /=\(>\)\@!<CR>
nmap <Leader>a> :Tabularize /=><CR>
vmap <Leader>a> :Tabularize /=><CR>
nmap <Leader>a: :Tabularize /:\zs<CR>
vmap <Leader>a: :Tabularize /:\zs<CR>
nmap <Leader>a{ :Tabularize / \zs{<CR>
vmap <Leader>a{ :Tabularize / \zs{<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment