   @IBAction func newTab(_ sender: Any?) {
     self.neoVimView
       .newTab()
-      .subscribe()
+      .trigger()
   }
 
   @IBAction func openDocument(_ sender: Any?) {

          }
          return self.neoVimView.open(urls: urls)
        }
        .subscribe()
    }
  }


          self.savePanelSheet {
            self.neoVimView
              .saveCurrentTab(url: $0)
              .trigger()
          }
          return Completable.empty()
        }

        return self.neoVimView.saveCurrentTab()
      }
      .trigger()
  }

  @IBAction func saveDocumentAs(_ sender: Any?) {
    self.neoVimView
      .currentBuffer()
      .observeOn(MainScheduler.instance)
      .value(onSuccess: { curBuf in
        self.savePanelSheet { url in
          self.neoVimView
            .saveCurrentTab(url: url)
            .andThen(
              curBuf.isDirty ? self.neoVimView.openInNewTab(urls: [url]) : self.neoVimView.openInCurrentTab(url: url)
            )
            .trigger()
        }
      })
  }
