| License | GPL-2 |
|---|---|
| Maintainer | yi-devel@googlegroups.com |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
| Extensions |
|
Yi.Keymap.Vim.Ex.Commands.Common
Description
Implements common ExCommands for the Vim keymap.
- parse :: GenParser Char () ExCommand -> EventString -> Maybe ExCommand
- parseWithBang :: GenParser Char () a -> (a -> Bool -> GenParser Char () ExCommand) -> EventString -> Maybe ExCommand
- parseWithBangAndCount :: GenParser Char () a -> (a -> Bool -> Maybe Int -> GenParser Char () ExCommand) -> EventString -> Maybe ExCommand
- parseRange :: GenParser Char () LineRange
- data OptionAction
- parseOption :: String -> (OptionAction -> Action) -> EventString -> Maybe ExCommand
- filenameComplete :: Text -> YiM [Text]
- forAllBuffers :: MonadEditor m => (BufferRef -> m ()) -> m ()
- pureExCommand :: ExCommand
- impureExCommand :: ExCommand
- errorNoWrite :: EditorM ()
Documentation
parseRange :: GenParser Char () LineRange Source
parseOption :: String -> (OptionAction -> Action) -> EventString -> Maybe ExCommand Source
filenameComplete :: Text -> YiM [Text] Source
forAllBuffers :: MonadEditor m => (BufferRef -> m ()) -> m () Source
errorNoWrite :: EditorM () Source
Show the common error message about an unsaved file on the status line.