#NEWLINE# def load_vi_open_in_editor_bindings( registry , filter = None ) : #NEWLINE# #INDENT# "\n    Pressing 'v' in navigation mode will open the buffer in an external editor.\n    " #NEWLINE# navigation_mode = ( InViMode ( InputMode . NAVIGATION ) & ( ~ filters . HasSelection ( ) ) ) #NEWLINE# handle = create_handle_decorator ( registry , filter ) #NEWLINE# @ handle ( 'v' , filter = navigation_mode ) #NEWLINE# def _( event ) : #NEWLINE# #INDENT# event . current_buffer . open_in_editor ( event . cli )