boysetsfrog / vimpc

Official repository for vimpc a vi/vim inspired client for the Music Player Daemon (mpd). Pull requests are welcome.
GNU General Public License v3.0
269 stars 34 forks source link

Better solution to #10 #12

Closed connermcd closed 11 years ago

connermcd commented 11 years ago

My last proposal left out the very important case where the playlist does not exist... oops. This one is tested with both scenarios. Basically, when using :save it will overwrite a playlist if it already exists.

boysetsfrog commented 11 years ago

Hey. Sorry I have been slow to reply. I am actually on a 13 week round the world holiday. Currently resident in Chicago. Does the attached code do the forced save in all cases rather than just when a ! is used or is there more than the single commit?

connermcd commented 11 years ago

There's more than a single commit, and the code should probably be reviewed before pulling. There's no rush; I just wanted to contribute :). Have fun on your holiday!