#NEWLINE# def load_from_buffer( ) : #NEWLINE# #INDENT# move_to_results ( ) #NEWLINE# ( row , _ ) = vim . current . window . cursor #NEWLINE# row -= 1 #NEWLINE# if ( row == 1 ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# if ( not buf_results [ row ] ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# filename = nvimdb . get_filename ( buf_results [ row ] ) #NEWLINE# load_note ( filename ) #NEWLINE# set_entry_line ( buf_results [ _ ] )