vgrep-0.2.3.0: A pager for grep
Safe HaskellSafe-Inferred
LanguageHaskell2010

Vgrep.Command

Documentation

data Command Source #

Constructors

DisplayPagerOnly

Display the pager full-screen

DisplayResultsOnly

Display the results list full-screen

SplitFocusPager

Split screen, focus on pager

SplitFocusResults

Split screen, focus on results list

PagerUp

Scroll one line up in pager

PagerDown

Scroll one line down in pager

PagerPageUp

Scroll one page up in pager

PagerPageDown

Scroll one page down in pager

PagerHalfPageUp

Scroll half a page up in pager

PagerHalfPageDown

Scroll half a page down in pager

PagerScrollLeft

Scroll eight characters left in pager

PagerScrollRight

Scroll eight characters right in pager

ResultsUp

Move to previous result

ResultsDown

Move to next result

ResultsPageUp

Move one page up in results list

ResultsPageDown

Move one page down in results list

PrevResult

Move to previous result and update pager

NextResult

Move to next result and update pager

PagerGotoResult

Update pager with currently selected result

OpenFileInEditor

Open file in external editor and jump to currently selected result

Exit

Exit the application

Unset

Treat keybinding as if not present, fall back to alternative binding (used to override keybindings)

Instances

Instances details
Eq Command Source # 
Instance details

Defined in Vgrep.Command

Methods

(==) :: Command -> Command -> Bool #

(/=) :: Command -> Command -> Bool #

Show Command Source # 
Instance details

Defined in Vgrep.Command

Generic Command Source # 
Instance details

Defined in Vgrep.Command

Associated Types

type Rep Command :: Type -> Type #

Methods

from :: Command -> Rep Command x #

to :: Rep Command x -> Command #

FromJSON Command Source # 
Instance details

Defined in Vgrep.Environment.Config.Sources.File

type Rep Command Source # 
Instance details

Defined in Vgrep.Command

type Rep Command = D1 ('MetaData "Command" "Vgrep.Command" "vgrep-0.2.3.0-79CAs1b54BVGsHizAm4Sjp" 'False) ((((C1 ('MetaCons "DisplayPagerOnly" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DisplayResultsOnly" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SplitFocusPager" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SplitFocusResults" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PagerUp" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "PagerDown" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PagerPageUp" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PagerPageDown" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "PagerHalfPageUp" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PagerHalfPageDown" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PagerScrollLeft" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "PagerScrollRight" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ResultsUp" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ResultsDown" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ResultsPageUp" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ResultsPageDown" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "PrevResult" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "NextResult" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PagerGotoResult" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "OpenFileInEditor" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Exit" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Unset" 'PrefixI 'False) (U1 :: Type -> Type))))))