yi-0.8.2: The Haskell-Scriptable Editor

Safe HaskellNone
LanguageHaskell2010

Yi.Keymap.Vim2.Ex.Commands.Common

Synopsis

Documentation

parseWithBang Source

Arguments

:: GenParser Char () a

The command name parser.

-> (a -> Bool -> GenParser Char () ExCommand)

A parser for the remaining command arguments.

-> String

The string to parse.

-> Maybe ExCommand 

data OptionAction Source

Constructors

Set !Bool 
Invert 
Ask 

forAllBuffers :: MonadEditor m => (BufferRef -> m ()) -> m () Source

errorNoWrite :: EditorM () Source

Show the common error message about an unsaved file on the status line.