Modify buffer numbering acording to vim version