From 2feb03aaf605b5a06edaae2271b378412462498b Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Thu, 29 Aug 2019 22:02:35 -0700 Subject: Add readline etc. configs for vi --- vim.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/vim.md b/vim.md index 049490b..1da057c 100644 --- a/vim.md +++ b/vim.md @@ -1,5 +1,18 @@ # Vim tricks +## readline + +vi keybindings in various `readline` and similar CLIs: + + # ~/.inputrc + set editing-mode vi + + # ~/.editrc + bind -v + + # ~/.haskeline + editMode: Vi + ## Navigating help | prefix | example | context | -- cgit v1.2.3