Method: Utils::Editor#fullscreen=

Defined in:
lib/utils/editor.rb

#fullscreen=(enabled) ⇒ Object



55
56
57
58
59
60
61
62
63
64
# File 'lib/utils/editor.rb', line 55

def fullscreen=(enabled)
  start
  sleep pause_duration
  if enabled
    edit_remote_send '<ESC>:set fullscreen<CR>'
  else
    edit_remote_send '<ESC>:set nofullscreen<CR>'
  end
  activate
end