Class: OrgMode::Commands::Open

Inherits:
Object
  • Object
show all
Defined in:
lib/org_mode/commands/open.rb

Instance Method Summary collapse

Instance Method Details

#execute(args, options) ⇒ Object

Private: executes the open command opens all org-files in vim sessions

args - list of filenames options - switches set by the app

Returns nothing



10
11
12
13
14
# File 'lib/org_mode/commands/open.rb', line 10

def execute(args, options)
  $config.org_mode_files

  exec %[vim], *$config.org_mode_files
end