Added configuration for vim-csv
This commit is contained in:
parent
22730e14a3
commit
8423176a16
9
.vimrc
9
.vimrc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue