yi-keymap-vim-0.18.0: Vim keymap for Yi editor

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

Yi.Keymap.Vim.Ex.Commands.Common

Description

Implements common ExCommands for the Vim keymap.

Synopsis

Documentation

parseWithBang Source #

Arguments

:: Parser a

The command name parser.

-> (a -> Bool -> Parser ExCommand)

A parser for the remaining command arguments.

-> EventString

The string to parse.

-> Maybe ExCommand 

parseWithBangAndCount Source #

Arguments

:: Parser a

The command name parser.

-> (a -> Bool -> Maybe Int -> Parser 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 :: Parser [Text] Source #

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