Skip to content

Commit

Permalink
Set vim as default editor on vim cookbook
Browse files Browse the repository at this point in the history
  • Loading branch information
rosenfeld committed Feb 28, 2011
1 parent d441061 commit 9296a8c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vim/recipes/default.rb
Expand Up @@ -24,3 +24,6 @@
node[:vim][:extra_packages].each do |vimpkg|
package vimpkg
end

update_editor = lambda { execute "update-alternatives --set editor /usr/bin/vim.basic" }
ruby_block("Update editor alternatives to vim") { block &update_editor }

0 comments on commit 9296a8c

Please sign in to comment.