Method: Neovim::Window#save_cursor

Defined in:
lib/neovim/remote_object.rb

#save_cursorObject



313
314
315
316
317
# File 'lib/neovim/remote_object.rb', line 313

def save_cursor
  c = cursor
  yield
  self.cursor = c
end