Module: Appear::Editor

Defined in:
lib/appear/editor.rb,
lib/appear/editor/nvim.rb

Overview

Appear::Editor is a sub-library of Appear, for appearing files, instead of processes. Appear::Editor’s job is to open a given file in an existing editor session, or start a new session editing that file.

Appear::Editor should feature drivers for many editors in the future, but for now only drives Neovim via [neovim-remote]. We should also support treating ‘tmux` as an editor, and launching tmux sessions and creating windows and splits as such.

[nvr]: github.com/mhinz/neovim-remote

Examples:

define my editor

Defined Under Namespace

Classes: Nvim, NvimError, TmuxIde

Constant Summary collapse

ALL =

List of all editors. In the future, we should provide more editor support and extend this list, and then allow the user to choose the editor to Appear in.

[TmuxIde]