yi-0.11.0: The Haskell-Scriptable Editor

Portabilityportable
Stabilityexperimental
Maintaineryi-devel@googlegroups.com
Safe HaskellNone

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

newtype CabalBuffer Source

Constructors

CabalBuffer 

Fields

cabalBuffer :: Maybe BufferRef
 

cabalConfigureE :: CommandArguments -> YiM ()Source

cabal-configure

configureExit :: Either SomeException ExitCode -> YiM ()Source

reloadProjectE :: String -> YiM ()Source

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.

cabalRun :: Text -> (Either SomeException ExitCode -> YiM x) -> CommandArguments -> YiM ()Source

makeRun :: (Either SomeException ExitCode -> YiM x) -> CommandArguments -> YiM ()Source

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

Search the source files in the project.

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

Perform a find+grep operation