yi-core-0.17.0: Yi editor core library

LicenseGPL-2
Maintaineryi-devel@googlegroups.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010
Extensions
  • OverloadedStrings
  • DeriveDataTypeable
  • GeneralizedNewtypeDeriving
  • TypeOperators
  • ExplicitNamespaces

Yi.Command

Description

Various high-level functions to further classify.

Synopsis

Documentation

changeBufferNameE :: YiM () Source #

Changing the buffer name quite useful if you have several the same. This also breaks the relation with the file.

shellCommandE :: YiM () Source #

shell-command with argument prompt

shellCommandV :: Text -> YiM () Source #

shell-command with a known argument

cabalConfigureE :: CommandArguments -> YiM () Source #

cabal-configure

buildRun :: Text -> [Text] -> (Either SomeException ExitCode -> YiM x) -> YiM () Source #

Run the given commands with args and pipe the ouput into the build buffer, which is shown in an other window.

interactiveRun :: Text -> [Text] -> (Either SomeException ExitCode -> YiM x) -> YiM () Source #

Run the given command with args in interactive mode.

selectRunner :: Text -> Text -> [Text] -> (Either SomeException ExitCode -> YiM x) -> YiM () Source #

Select buildRun or interactiveRun based on stack or cabal command name

searchSources :: (String ::: RegexTag) -> YiM () Source #

Search the source files in the project.

grepFind :: (String ::: FilePatternTag) -> (String ::: RegexTag) -> YiM () Source #

Perform a find+grep operation