Added configuration for vim-csv

This commit is contained in:
David Thurstenson 2021-05-03 15:36:14 -05:00
parent 22730e14a3
commit 8423176a16
1 changed files with 9 additions and 0 deletions

9
.vimrc
View File

@ -140,3 +140,12 @@ set autochdir
" VCSCommand options " VCSCommand options
let g:VCSCommandSplit = "vertical" let g:VCSCommandSplit = "vertical"
" CSV Files auto-arrange
aug CSV_Editing
au!
au BufRead,BufWritePost *.csv :%ArrangeColumn!
au BufWritePre *.csv :%UnArrangeColumn
au InsertLeave *.csv :%UnArrangeColumn
au InsertLeave *.csv :%ArrangeColumn!
aug end