yi-0.6.2.4: The Haskell-Scriptable Editor

Yi.Dired

Description

A Simple Dired Implementation for Yi

Synopsis

Documentation

fnewE :: FilePath -> YiM ()Source

If file exists, read contents of file into a new buffer, otherwise creating a new empty buffer. Replace the current window with a new window onto the new buffer.

If the file is already open, just switch to the corresponding buffer.

Need to clean up semantics for when buffers exist, and how to attach windows to buffers.