"Zachary Leung" <[EMAIL PROTECTED]> 写于 2006-11-09 15:19:29: > Hi, > > I'd like to run these commands everytime I edit a MATLAB file. How > do I do that? > > set shiftwidth=4 > set tabstop=4 > set expandtab > > Thanks! > Zac > > -- > Jesus said, "I am the door of the sheep. If anyone enters by me, he > will be saved and will go in and out and find pasture." > John 10:9
Save these commands into your $VIM\vimfiles\after\syntax\matlab.vim (Windows platform) or ~/.vim/after/syntax/matlab.vim -- Sincerely, Pan, Shi Zhu. ext: 2606
