From 8ffda4ecff0a2c93023d0e4fe4e079636d930571 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Fri, 23 Dec 2016 21:45:56 -0600 Subject: vim: add tabular for text alignment --- vim/.vim/bundle/tabular | 1 + vim/.vimrc | 5 +++++ 2 files changed, 6 insertions(+) create mode 160000 vim/.vim/bundle/tabular (limited to 'vim') diff --git a/vim/.vim/bundle/tabular b/vim/.vim/bundle/tabular new file mode 160000 index 0000000..00e1e7f --- /dev/null +++ b/vim/.vim/bundle/tabular @@ -0,0 +1 @@ +Subproject commit 00e1e7fcdbc6d753e0bc8043e0d2546fa81bf367 diff --git a/vim/.vimrc b/vim/.vimrc index 44d01c4..0ad8e95 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -47,3 +47,8 @@ set number relativenumber " ctrlp.vim: let g:ctrlp_map='' "display fuzzy buffer search on ^P + +" tabular: +" align equals on 'a=', comma on 'a,' +nnoremap a= :Tabularize /= +nnoremap a, :Tabularize /,/r0l1 -- cgit v1.2.3