Merge branch 'master' into osx_improvements
Merge pull request #40 from m4ce/master
Refactor OS selection
when running OSX, has('unix) returns true - this is now handled better.
Merge pull request #32 from wadey/fix-variable-scope
Fix variable scope
Fix variable scope
Global scope must be used for variables that are not specific to one buffer,
and `b:curr_file` has to be reset for each buffer.
Closes: #31
Consolidated filename functionality. Closes #30
Added OS X and Google Chrome auto refresh with applescripts
Use vim-markdown-preview as the name for all html generated files
Set Safari as default browser for OSX
Move OS detection to the top of the script
Add preview browser name to OSX open call
Merge pull request #24 from rpoddighe/master
Correctly handle spaces in local filepaths
Correctly handle spaces in local filepaths
Check if global flags exist before setting them
Handle space in filepath names; Fixes #19
Added variable to remap ctrl-p
Fixed image rendering markdown path