Merge pull request #510 from nikolai-b/master

separate mac and linux vim keymaping
This commit is contained in:
Yan Pritzker
2014-10-24 14:58:20 -05:00
6 changed files with 184 additions and 82 deletions

View File

@@ -27,7 +27,7 @@ task :install => [:submodule_init, :submodules] do
Rake::Task["install_prezto"].execute
install_fonts if RUBY_PLATFORM.downcase.include?("darwin")
install_fonts
install_term_theme if RUBY_PLATFORM.downcase.include?("darwin")
@@ -181,7 +181,8 @@ def install_fonts
puts "======================================================"
puts "Installing patched fonts for Powerline/Lightline."
puts "======================================================"
run %{ cp -f $HOME/.yadr/fonts/* $HOME/Library/Fonts }
run %{ cp -f $HOME/.yadr/fonts/* $HOME/Library/Fonts } if RUBY_PLATFORM.downcase.include?("darwin")
run %{ mkdir -p ~/.fonts && cp ~/.yadr/fonts/* "$_" && fc-cache -vf ~/.fonts } if RUBY_PLATFORM.downcase.include?("linux")
puts
end