Refactor nextbuffer command to be more idiomatic
Refactor nextbuffer command to be more idiomatic

alpha123/kakoune,elegios/kakoune,jkonecny12/kakoune,xificurC/kakoune,occivink/kakoune,alexherbo2/kakoune,danr/kakoune,flavius/kakoune,flavius/kakoune,occivink/kakoune,zakgreant/kakoune,xificurC/kakoune,mawww/kakoune,flavius/kakoune,ekie/kakoune,danr/kakoune,elegios/kakoune,rstacruz/kakoune,mawww/kakoune,xificurC/kakoune,jjthrash/kakoune,Asenar/kakoune,Somasis/kakoune,zakgreant/kakoune,alexherbo2/kakoune,xificurC/kakoune,casimir/kakoune,occivink/kakoune,lenormf/kakoune,alpha123/kakoune,casimir/kakoune,Asenar/kakoune,ekie/kakoune,Asenar/kakoune,lenormf/kakoune,jkonecny12/kakoune,zakgreant/kakoune,occivink/kakoune,jjthrash/kakoune,danielma/kakoune,Asenar/kakoune,Somasis/kakoune,casimir/kakoune,alpha123/kakoune,elegios/kakoune,danielma/kakoune,danr/kakoune,danielma/kakoune,jjthrash/kakoune,rstacruz/kakoune,zakgreant/kakoune,alexherbo2/kakoune,mawww/kakoune,jjthrash/kakoune,ekie/kakoune,mawww/kakoune,lenormf/kakoune,flavius/kakoune,casimir/kakoune,danielma/kakoune,elegios/kakoune,ekie/kakoune,Somasis/kakoune,jkonecny12/kakoune,rstacruz/kakoune,danr/kakoune,rstacruz/kakoune,alpha123/kakoune,lenormf/kakoune,alexherbo2/kakoune,Somasis/kakoune,jkonecny12/kakoune