code: def go_to_buffer(self, buffer_name):
          
          assert isinstance(buffer_name, string_types)
  
          for i, eb in enumerate(self.editor_buffers):
              if (eb.location == buffer_name or
                      (buffer_name.isdigit() and int(buffer_name) == i)):
                  self.show_editor_buffer(eb)
                  break
docs: Go to one of the open buffers.