Module: Jekyll
- Defined in:
- lib/jekyll-compose/file_editor.rb,
lib/jekyll-compose.rb,
lib/jekyll/commands/page.rb,
lib/jekyll/commands/post.rb,
lib/jekyll/commands/draft.rb,
lib/jekyll-compose/version.rb,
lib/jekyll/commands/rename.rb,
lib/jekyll/commands/compose.rb,
lib/jekyll/commands/publish.rb,
lib/jekyll-compose/file_info.rb,
lib/jekyll-compose/arg_parser.rb,
lib/jekyll-compose/file_mover.rb,
lib/jekyll/commands/unpublish.rb,
lib/jekyll-compose/file_creator.rb,
lib/jekyll-compose/movement_arg_parser.rb
Overview
This class is aimed to open the created file in the selected editor. To use this feature specify at Jekyll config:
“‘
jekyll_compose:
auto_open: true
“‘
And make sure, that you have JEKYLL_EDITOR, VISUAL, or EDITOR environment variables set up. This will allow to open the file in your default editor automatically.