yi-0.11.2: The Haskell-Scriptable Editor

LicenseGPL-2
Maintaineryi-devel@googlegroups.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010
Extensions
  • ScopedTypeVariables
  • OverloadedStrings
  • ExplicitForAll
  • NondecreasingIndentation
  • LambdaCase

Yi.Keymap.Vim.Ex.Commands.Common

Description

Implements common ExCommands for the Vim keymap.

Synopsis

Documentation

parseWithBang Source

Arguments

:: GenParser Char () a

The command name parser.

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

A parser for the remaining command arguments.

-> EventString

The string to parse.

-> Maybe ExCommand 

parseWithBangAndCount Source

Arguments

:: GenParser Char () a

The command name parser.

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

A parser for the remaining command arguments.

-> EventString

The string to parse.

-> Maybe ExCommand 

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

errorNoWrite :: EditorM () Source

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

commandArgs :: GenParser Char () [Text] Source

Useful parser for any Ex command that acts kind of like a shell