From 95b669faeaca543eef02bd076e7c368e23a7463d Mon Sep 17 00:00:00 2001 From: defanor Date: Tue, 28 Nov 2017 13:48:06 +0300 Subject: Use [ and ] instead of b and f for history navigation Akin to info viewers, and these won't interfere with link enumeration. Also use "quit" instead of "q". --- Pancake/Command.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Pancake') diff --git a/Pancake/Command.hs b/Pancake/Command.hs index 028012a..c385dc2 100644 --- a/Pancake/Command.hs +++ b/Pancake/Command.hs @@ -69,9 +69,9 @@ parseCommand c = either (const Help) id . parse (command c) "user input" -- | Basic (constant) command parser. basicCommand :: Parser Command basicCommand = choice . map (\(s, c) -> try (string s <* eof) *> pure c) $ - [ ("q", Quit) - , ("b", Back) - , ("f", Forward) + [ ("quit", Quit) + , ("[", Back) + , ("]", Forward) , (",", GoTo Nothing RCurrent) , ("reload config", ReloadConfig) , ("help", Help) -- cgit v1.2.3